about summary refs log tree commit diff
path: root/tvix/eval/src
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src')
-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 d04e01bf7eab..51f4795c59eb 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("}")