From 9a47c1ffe2baab5aa6bf1aa39689aa376afec145 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 29 Oct 2024 17:44:00 +0100 Subject: style(treewide): Format --- crates/yt_dlp/src/lib.rs | 5 +---- crates/yt_dlp/src/wrapper/info_json.rs | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/yt_dlp/src/lib.rs b/crates/yt_dlp/src/lib.rs index ddbce7d..9fd0200 100644 --- a/crates/yt_dlp/src/lib.rs +++ b/crates/yt_dlp/src/lib.rs @@ -271,10 +271,7 @@ pub fn progress_hook(py: Python<'_>, input: &Bound<'_, PyDict>) -> PyResult<()> stdout().flush()?; } "finished" => { - println!( - "-> Finished downloading: '{}'", - c!("34;1", get_title(true)) - ); + println!("-> Finished downloading: '{}'", c!("34;1", get_title(true))); } "error" => { panic!("-> Error while downloading: {}", get_title(true)) diff --git a/crates/yt_dlp/src/wrapper/info_json.rs b/crates/yt_dlp/src/wrapper/info_json.rs index 1920172..a2a775c 100644 --- a/crates/yt_dlp/src/wrapper/info_json.rs +++ b/crates/yt_dlp/src/wrapper/info_json.rs @@ -247,7 +247,6 @@ pub struct SubtitleFragment { duration: Option, } - #[derive(Debug, Deserialize, Serialize, PartialEq, PartialOrd)] #[serde(deny_unknown_fields)] pub struct Chapter { -- cgit 1.4.1