Fix redundant closure clippy

master
Dario Nieuwenhuis 2021-06-27 10:43:05 +02:00
parent 98fe17890a
commit 1ac34f34eb
1 changed files with 1 additions and 1 deletions

View File

@ -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>) {