diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-25 17:35:02 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-25 17:35:02 +0200 |
commit | e9be4219b63cbb4fdfe8de8779481568a69ceb8a (patch) | |
tree | d2568d4e482768c90c625a7a7ffd5a632811ba30 /crates/yt_dlp/src | |
parent | refactor(treewide): Conform to `cargo clippy` (diff) | |
download | yt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.tar.gz yt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.zip |
style(treewide): Reformat
Diffstat (limited to '')
-rw-r--r-- | crates/yt_dlp/src/logging.rs | 4 |
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)? { |