diff --git a/src/hot.rs b/src/hot.rs index a745e3e..2940889 100644 --- a/src/hot.rs +++ b/src/hot.rs @@ -325,16 +325,18 @@ pub fn watch(path: impl AsRef) -> Oneesan }), handle, }; - output } +/// Some predefined filter functions pub mod filter { use super::*; - + #[inline(always)] const fn all(_: &Event) -> bool {true} + + /// Empty filter, accept all pub const ALL: Option bool> = None; }