diff options
Diffstat (limited to 'tvix/eval/src/value/attrs.rs')
-rw-r--r-- | tvix/eval/src/value/attrs.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/eval/src/value/attrs.rs b/tvix/eval/src/value/attrs.rs index 2efeaad41306..1b76eb1966d3 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)?; } } |