From ee0ccda5b280eeb5ea6fdf1cf11c9e6d5f87e432 Mon Sep 17 00:00:00 2001 From: wasm-forge <122647775+wasm-forge@users.noreply.github.com> Date: Sun, 13 Oct 2024 14:11:43 +0200 Subject: [PATCH] clippy --- src/filename_cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filename_cache.rs b/src/filename_cache.rs index 845fab5..ad6c1e4 100644 --- a/src/filename_cache.rs +++ b/src/filename_cache.rs @@ -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));