Improve Map type's display implementation

This commit is contained in:
Jeff 2024-01-22 20:47:44 -05:00
parent 1ae9dd67a7
commit fc7cffcb70

View File

@ -141,8 +141,8 @@ impl Display for Map {
let variables = self.variables.read().unwrap().clone().into_iter();
for (key, (value, _)) in variables {
writeln!(f, " {key} = {value}")?;
for (key, (value, value_type)) in variables {
writeln!(f, " {key} <{value_type}> = {value}")?;
}
write!(f, "}}")
}