diff --git a/examples/utils.rs b/examples/utils.rs index 9e1cfca..93dc259 100644 --- a/examples/utils.rs +++ b/examples/utils.rs @@ -64,7 +64,7 @@ where #[cfg(feature = "log")] pub fn setup_logging(filter: &str) { - setup_logging_with_clock(filter, move || Instant::now()) + setup_logging_with_clock(filter, Instant::now) } pub fn create_options() -> (Options, Vec<&'static str>) {