From 4217fc9bf6bbc2c3057cd152e3dcd9db04d23e62 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 9 Dec 2023 16:54:26 +0100 Subject: [PATCH] Address clippy lint for debounce test --- fish-rust/src/tests/debounce.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish-rust/src/tests/debounce.rs b/fish-rust/src/tests/debounce.rs index ef03971ba..aa748f75a 100644 --- a/fish-rust/src/tests/debounce.rs +++ b/fish-rust/src/tests/debounce.rs @@ -113,7 +113,7 @@ struct Data { // Wait 75 msec, then enqueue something else; this should spawn a new thread. std::thread::sleep(timeout + timeout / 2); assert!(data.running.load(Ordering::Relaxed) == 1); - let token3 = data.db.perform(handler.clone()); + let token3 = data.db.perform(handler); assert!(token3 > token2); // Release all the threads.