diff options
author | Joris | 2024-11-17 14:23:15 +0100 |
---|---|---|
committer | Joris | 2024-11-17 14:23:15 +0100 |
commit | 0e75ef4efe27535f04b8f5bfc13b2165c3343781 (patch) | |
tree | cdae490293d94b74f45e47c59b4aba57b7316c41 /src/cli | |
parent | 5f526ef14285b5fd2dc5892d6dd8b307981f743f (diff) |
Fix clippy warnings1.3.0
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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::<Vec<Event>>(); Ok(format_events(events)) } |