Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
wasm-forge committed Oct 13, 2024
1 parent 7f881db commit ee0ccda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filename_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mod tests {
let filename = "test_file".to_string();
let node = 35 as Node;

cache.add((fd, filename.clone()), node.clone());
cache.add((fd, filename.clone()), node);

let retrieved_node = cache.get(&(fd, filename));
assert_eq!(retrieved_node, Some(node));
Expand Down

0 comments on commit ee0ccda

Please sign in to comment.