From 12e397ee0a44a6a14d8ee0c64dc4e4d24ebcfdec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sp=C3=B6ttel?= <1682504+fspoettel@users.noreply.github.com> Date: Sun, 10 Dec 2023 13:52:19 +0100 Subject: [PATCH] fix: clippy --- src/template/commands/time.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/template/commands/time.rs b/src/template/commands/time.rs index e3236f2..ce110ab 100644 --- a/src/template/commands/time.rs +++ b/src/template/commands/time.rs @@ -12,7 +12,9 @@ pub fn handle(day: Option, recreate_all: bool) { all_days().collect() } else { // when the `--all` flag is not set, filter out days that are fully benched. - all_days().filter(|day| !stored_timings.is_day_complete(&day)).collect() + all_days() + .filter(|day| !stored_timings.is_day_complete(day)) + .collect() } });