diff options
author | Florian Klink <flokli@flokli.de> | 2023-08-19T15·16+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-08-20T21·51+0000 |
commit | 3ffbcc6c8a9bca119248d4ffe00c24a903979e1a (patch) | |
tree | a97ffb415169c5a6affe60c4cd1bddcbc787c40f /tvix/store/src/directoryservice/traverse.rs | |
parent | bc852fa56f3ac4ea1d506a0296c27ecb91a7589d (diff) |
refactor(tvix/store): cargo clippy r/6500
Change-Id: I3a80560d036e7ed08036b5e9f0974080d1a30ded Reviewed-on: https://cl.tvl.fyi/c/depot/+/9096 Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz> Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store/src/directoryservice/traverse.rs')
-rw-r--r-- | tvix/store/src/directoryservice/traverse.rs | 6 |
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); } } } |