refactor(tvix/store): cargo clippy

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>
This commit is contained in:
Florian Klink 2023-08-19 17:16:31 +02:00 committed by flokli
parent bc852fa56f
commit 3ffbcc6c8a
7 changed files with 27 additions and 36 deletions

View file

@ -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);
}
}
}