about summary refs log tree commit diff
path: root/tvix/eval/src/value
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/value')
-rw-r--r--tvix/eval/src/value/attrs.rs2
-rw-r--r--tvix/eval/src/value/builtin.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/src/value/attrs.rs b/tvix/eval/src/value/attrs.rs
index fffd316cbfa2..51f741a210a1 100644
--- a/tvix/eval/src/value/attrs.rs
+++ b/tvix/eval/src/value/attrs.rs
@@ -91,7 +91,7 @@ impl Display for NixAttrs {
             }
 
             AttrsRep::Map(map) => {
-                for (name, value) in map.iter() {
+                for (name, value) in map {
                     write!(f, "{} = {}; ", name.ident_str(), value)?;
                 }
             }
diff --git a/tvix/eval/src/value/builtin.rs b/tvix/eval/src/value/builtin.rs
index 84582e298586..e876c235557e 100644
--- a/tvix/eval/src/value/builtin.rs
+++ b/tvix/eval/src/value/builtin.rs
@@ -58,7 +58,7 @@ impl Builtin {
         }
 
         // Function is not yet ready to be called.
-        return Ok(Value::Builtin(self));
+        Ok(Value::Builtin(self))
     }
 }