about summary refs log tree commit diff stats
path: root/crates
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-25 17:35:02 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-25 17:35:02 +0200
commite9be4219b63cbb4fdfe8de8779481568a69ceb8a (patch)
treed2568d4e482768c90c625a7a7ffd5a632811ba30 /crates
parentrefactor(treewide): Conform to `cargo clippy` (diff)
downloadyt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.tar.gz
yt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.zip
style(treewide): Reformat
Diffstat (limited to 'crates')
-rw-r--r--crates/yt_dlp/src/logging.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/yt_dlp/src/logging.rs b/crates/yt_dlp/src/logging.rs
index 02af3ff..4039da4 100644
--- a/crates/yt_dlp/src/logging.rs
+++ b/crates/yt_dlp/src/logging.rs
@@ -41,9 +41,7 @@ fn host_log(record: Bound<'_, PyAny>, rust_target: &str) -> PyResult<()> {
         Some(format!("{rust_target}::{logger_name}"))
     };
 
-    let target = full_target
-        .as_deref()
-        .unwrap_or(rust_target);
+    let target = full_target.as_deref().unwrap_or(rust_target);
 
     // error
     let error_metadata = if level.ge(40u8)? {