From d451984d34c74190340cc82d203565c7e4747908 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 28 Jun 2025 16:34:47 +0200 Subject: chore(yt/storage/video_database/set): Apply some of clippy's suggestions --- crates/yt/src/storage/video_database/set/mod.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/crates/yt/src/storage/video_database/set/mod.rs b/crates/yt/src/storage/video_database/set/mod.rs index 8c1be4a..1b19011 100644 --- a/crates/yt/src/storage/video_database/set/mod.rs +++ b/crates/yt/src/storage/video_database/set/mod.rs @@ -92,10 +92,7 @@ pub async fn video_status( let now = Utc::now().timestamp(); - debug!( - "Running status change: {:#?} -> {:#?}...", - old_marker, new_status, - ); + debug!("Running status change: {old_marker:#?} -> {new_status:#?}...",); let new_status = new_status.as_db_integer(); let new_priority = new_priority.as_db_integer(); @@ -121,10 +118,7 @@ pub async fn video_status( let now = Utc::now().timestamp(); - debug!( - "Running status change: {:#?} -> {:#?}...", - old_marker, new_status, - ); + debug!("Running status change: {old_marker:#?} -> {new_status:#?}...",); let new_status = new_status.as_db_integer(); query!( -- cgit 1.4.1