about summary refs log tree commit diff
path: root/tvix/store/src/directoryservice
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/directoryservice')
-rw-r--r--tvix/store/src/directoryservice/traverse.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/store/src/directoryservice/traverse.rs b/tvix/store/src/directoryservice/traverse.rs
index a385da3c63ef..9029543267c1 100644
--- a/tvix/store/src/directoryservice/traverse.rs
+++ b/tvix/store/src/directoryservice/traverse.rs
@@ -142,7 +142,7 @@ mod tests {
             )
             .expect("must succeed");
 
-            assert_eq!(Some(node_directory_with_keep.clone()), resp);
+            assert_eq!(Some(node_directory_with_keep), resp);
         }
 
         // traversal to `keep/.keep` should return the node for the .keep file
@@ -166,7 +166,7 @@ mod tests {
             )
             .expect("must succeed");
 
-            assert_eq!(Some(node_file_keep.clone()), resp);
+            assert_eq!(Some(node_file_keep), resp);
         }
 
         // traversal to `void` should return None (doesn't exist)
@@ -215,7 +215,7 @@ mod tests {
             )
             .expect("must succeed");
 
-            assert_eq!(Some(node_directory_complicated.clone()), resp);
+            assert_eq!(Some(node_directory_complicated), resp);
         }
     }
 }