From 1ac34f34eb29249d753dbbb2a55a9861289d33c1 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 27 Jun 2021 10:43:05 +0200 Subject: [PATCH] Fix redundant closure clippy --- examples/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>) {