Explorar o código

Fix redundant closure clippy

Dario Nieuwenhuis %!s(int64=4) %!d(string=hai) anos
pai
achega
750fcb1887
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/utils.rs

+ 1 - 1
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>) {