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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/eval/src/value/attrs.rs b/tvix/eval/src/value/attrs.rs
index 2efeaad413..1b76eb1966 100644
--- a/tvix/eval/src/value/attrs.rs
+++ b/tvix/eval/src/value/attrs.rs
@@ -77,13 +77,13 @@ impl Display for NixAttrs {
 
         match &self.0 {
             AttrsRep::KV { name, value } => {
-                f.write_fmt(format_args!("name = {}; ", name))?;
-                f.write_fmt(format_args!("value = {}; ", value))?;
+                write!(f, "name = {}; ", name)?;
+                write!(f, "value = {}; ", value)?;
             }
 
             AttrsRep::Map(map) => {
                 for (name, value) in map.iter() {
-                    f.write_fmt(format_args!("{} = {}; ", name.ident_str(), value))?;
+                    write!(f, "{} = {}; ", name.ident_str(), value)?;
                 }
             }