about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-02-15T20·11+0200
committerflokli <flokli@flokli.de>2023-03-10T10·58+0000
commit95aec51b2c04887a49c0954cae806d970c8a1b19 (patch)
tree8be60e2e665ddd088d48b295e99eafbb9447d06d /tvix
parent80f68bf8282a4607a9e8f748a0aaa830d6aeacb7 (diff)
refactor(tvix/store): remove useless clone in test r/5908
Change-Id: If62887cbc3338110cb7c815ec2ee2160fae04353
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8111
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix')
-rw-r--r--tvix/store/src/proto/tests/pathinfo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/proto/tests/pathinfo.rs b/tvix/store/src/proto/tests/pathinfo.rs
index 35a2771c300a..584bc5920684 100644
--- a/tvix/store/src/proto/tests/pathinfo.rs
+++ b/tvix/store/src/proto/tests/pathinfo.rs
@@ -201,7 +201,7 @@ fn validate_references() {
             signatures: vec![],
             reference_names: vec![format!("/nix/store/{}", DUMMY_NAME)],
         }),
-        ..path_info.clone()
+        ..path_info
     };
     assert!(path_info_with_narinfo.validate().is_ok());
 }