mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Address clippy lint for debounce test
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user