Skip to content

Commit ca76e48

Browse files
committed
chore: a small lint fix in test code
1 parent 3fe22d9 commit ca76e48

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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)