about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-rw-r--r--tvix/nix-compat/src/derivation/tests/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/derivation/tests/mod.rs b/tvix/nix-compat/src/derivation/tests/mod.rs
index 7b0ef6c3d961..34f6cae678d4 100644
--- a/tvix/nix-compat/src/derivation/tests/mod.rs
+++ b/tvix/nix-compat/src/derivation/tests/mod.rs
@@ -17,7 +17,7 @@ fn read_file(path: &str) -> String {
 
     file.read_to_string(&mut data).unwrap();
 
-    return data;
+    data
 }
 
 #[test_resources("src/derivation/tests/derivation_tests/*.drv")]
@@ -155,7 +155,7 @@ fn output_paths(name: &str, drv_path: &str) {
 
     // We need to calculate the replacement_str, as fixed-sha1 does use it.
     derivation
-        .calculate_output_paths(&name, &replacement_str)
+        .calculate_output_paths(name, &replacement_str)
         .unwrap();
 
     // The derivation should now look like it was before