diff --git a/src/fsmon.rs b/src/fsmon.rs index 8be733d2..bd3f83d2 100644 --- a/src/fsmon.rs +++ b/src/fsmon.rs @@ -1,5 +1,5 @@ // std imports -use std::{path::PathBuf, time::Duration}; +use std::path::PathBuf; // local imports use crate::error::Result; @@ -89,7 +89,7 @@ mod imp { #[cfg(target_os = "macos")] mod imp { - use std::collections::HashSet; + use std::{collections::HashSet, time::Duration}; use kqueue::{EventData, EventFilter, FilterFlag, Ident, Vnode, Watcher}; use notify::event::{CreateKind, DataChange, MetadataKind, ModifyKind, RemoveKind, RenameMode};