From fc7cffcb708f2441cc76f58007e8b13c94678691 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 22 Jan 2024 20:47:44 -0500 Subject: [PATCH] Improve Map type's display implementation --- src/value/map.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/value/map.rs b/src/value/map.rs index 0754080..c264f32 100644 --- a/src/value/map.rs +++ b/src/value/map.rs @@ -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, "}}") }