about summary refs log tree commit diff stats
path: root/crates/yt_dlp/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)? {