Improve Map type's display implementation
This commit is contained in:
parent
1ae9dd67a7
commit
fc7cffcb70
@ -141,8 +141,8 @@ impl Display for Map {
|
|||||||
|
|
||||||
let variables = self.variables.read().unwrap().clone().into_iter();
|
let variables = self.variables.read().unwrap().clone().into_iter();
|
||||||
|
|
||||||
for (key, (value, _)) in variables {
|
for (key, (value, value_type)) in variables {
|
||||||
writeln!(f, " {key} = {value}")?;
|
writeln!(f, " {key} <{value_type}> = {value}")?;
|
||||||
}
|
}
|
||||||
write!(f, "}}")
|
write!(f, "}}")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user