about summary refs log tree commit diff
path: root/tvix/eval/src/value/attrs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/value/attrs.rs')
-rw-r--r--tvix/eval/src/value/attrs.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/tvix/eval/src/value/attrs.rs b/tvix/eval/src/value/attrs.rs
index d04e01bf7e..51f4795c59 100644
--- a/tvix/eval/src/value/attrs.rs
+++ b/tvix/eval/src/value/attrs.rs
@@ -30,9 +30,8 @@ impl Display for NixAttrs {
 
         match self {
             NixAttrs::KV { name, value } => {
-                f.write_fmt(format_args!("name = \"{}\"; ", name))?;
+                f.write_fmt(format_args!("name = {}; ", name))?;
                 f.write_fmt(format_args!("value = {}; ", value))?;
-                f.write_str("/* optimised pair! */")?;
             }
 
             NixAttrs::Map(map) => {
@@ -41,10 +40,7 @@ impl Display for NixAttrs {
                 }
             }
 
-            NixAttrs::Empty => {
-                /* no values to print! */
-                f.write_str("/* optimised empty set! */")?;
-            }
+            NixAttrs::Empty => { /* no values to print! */ }
         }
 
         f.write_str("}")