From 0e75ef4efe27535f04b8f5bfc13b2165c3343781 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 17 Nov 2024 14:23:15 +0100 Subject: Fix clippy warnings --- src/cli/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli') diff --git a/src/cli/mod.rs b/src/cli/mod.rs index 2248fde..465d70a 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -40,7 +40,7 @@ pub fn start_between(conn: &Connection, from: NaiveDateTime, to: NaiveDateTime) dt >= from && dt < to } }) - .map(|e| e.clone()) + .cloned() .collect::>(); Ok(format_events(events)) } -- cgit v1.2.3