Skip to content

Commit f004b1b

Browse files
committed
chore: a small lint fix in test code
1 parent 7433432 commit f004b1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/ev_handler.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@ mod tests {
339339
use crate::{minus_core::CommandQueue, ExitStrategy, PagerState, RunMode};
340340
#[cfg(feature = "search")]
341341
use parking_lot::{Condvar, Mutex};
342-
use std::sync::{atomic::AtomicBool, Arc, LazyLock};
342+
#[cfg(feature = "search")]
343+
use std::sync::LazyLock;
344+
use std::sync::{atomic::AtomicBool, Arc};
343345

344346
// Tests constants
345347
#[cfg(feature = "search")]

0 commit comments

Comments
 (0)