From 2999ae3da41ff913fe7e344d5574bb6646815d3a Mon Sep 17 00:00:00 2001 From: Irevoire Date: Tue, 22 Nov 2022 14:26:56 +0100 Subject: [PATCH] makes clippy happy --- index-scheduler/src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index dab98ac4a..90c1d56f5 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -1251,10 +1251,7 @@ mod tests { } Err(RecvTimeoutError::Disconnected) => panic!("The scheduler crashed."), }; - assert!( - b == false, - "Found the breakpoint handle in a bad state. Check your test suite" - ); + assert!(!b, "Found the breakpoint handle in a bad state. Check your test suite"); self.last_breakpoint = breakpoint_2;