about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-28 16:34:47 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-28 16:34:47 +0200
commitd451984d34c74190340cc82d203565c7e4747908 (patch)
treeeefa20f4371941c20c22c56ab6cd3aac9a24de02
parentfix(yt/select/split): Also use persist the selection file (diff)
downloadyt-d451984d34c74190340cc82d203565c7e4747908.zip
chore(yt/storage/video_database/set): Apply some of clippy's suggestions
-rw-r--r--crates/yt/src/storage/video_database/set/mod.rs10
1 files 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!(