aboutsummaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/mod.rs2
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))
}