From 0aa835b4d9c4e3a5a4e65e2bd99d676368d5bd27 Mon Sep 17 00:00:00 2001 From: beeb <703631+beeb@users.noreply.github.com> Date: Tue, 22 Apr 2025 10:53:25 +0200 Subject: [PATCH] fix: clippy warning --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 214a3d9..6474121 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,9 +44,8 @@ async fn main() -> Result<()> { // check if we run the backup once, or periodically forever if let Some(schedule) = ¶ms.schedule { info!( - "Will backup \"{}\" on cron schedule: \"{}\"", - params.folder.to_string_lossy(), - schedule.to_string() + "Will backup \"{}\" on cron schedule: \"{schedule}\"", + params.folder.to_string_lossy() ); // spawn a routine that will run the backup periodically let task = task::spawn({