From 768ec41f0cc8bf02dbfe114507fdf308eaf7019f Mon Sep 17 00:00:00 2001 From: James Date: Tue, 23 Aug 2022 12:43:56 +0100 Subject: [PATCH] Fix clippy lint --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index b6978cd..29909eb 100644 --- a/src/app.rs +++ b/src/app.rs @@ -347,7 +347,7 @@ pub fn build() -> App<'static> { fn validate_date_argument(arg: &str) -> Result<(), String> { if arg.starts_with('+') { - validate_time_format(&arg) + validate_time_format(arg) } else if arg == "date" || arg == "relative" { Result::Ok(()) } else {