From 43aa50d78a7fa1205fd7d37242d30ac0344461e8 Mon Sep 17 00:00:00 2001 From: Arijit Dey Date: Thu, 4 Jul 2024 01:23:48 +0530 Subject: [PATCH] fx: clippy error --- src/core/init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/init.rs b/src/core/init.rs index 0343ae4..59473c0 100644 --- a/src/core/init.rs +++ b/src/core/init.rs @@ -330,7 +330,7 @@ fn event_reader( #[cfg(feature = "search")] { let (lock, cvar) = (&user_input_active.0, &user_input_active.1); - let _guard = cvar.wait_while(&mut lock.lock(), |pending| !*pending); + cvar.wait_while(&mut lock.lock(), |pending| !*pending); } if event::poll(std::time::Duration::from_millis(100))