about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/eval/builtin-macros/tests/tests.rs2
-rw-r--r--tvix/eval/src/value/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/builtin-macros/tests/tests.rs b/tvix/eval/builtin-macros/tests/tests.rs
index 4713743e5295..288b6670e119 100644
--- a/tvix/eval/builtin-macros/tests/tests.rs
+++ b/tvix/eval/builtin-macros/tests/tests.rs
@@ -15,7 +15,7 @@ mod builtins {
     }
 
     #[builtin("tryEval")]
-    pub async fn builtin_try_eval(co: GenCo, #[lazy] _x: Value) -> Result<Value, ErrorKind> {
+    pub async fn builtin_try_eval(_co: GenCo, #[lazy] _x: Value) -> Result<Value, ErrorKind> {
         unimplemented!("builtin is never called")
     }
 }
diff --git a/tvix/eval/src/value/mod.rs b/tvix/eval/src/value/mod.rs
index 6d9a6ada73bb..2fb27d8dc885 100644
--- a/tvix/eval/src/value/mod.rs
+++ b/tvix/eval/src/value/mod.rs
@@ -870,7 +870,7 @@ mod tests {
 
         #[test]
         fn format_float() {
-            let ff = vec![
+            let ff = [
                 (0f64, "0"),
                 (1.0f64, "1"),
                 (-0.01, "-0.01"),