From a60cd8f2a96aae3f7db8dfccec2aa5cf21f8c411 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Aug 2024 17:30:02 +0200 Subject: refactor(treewide): Conform to `cargo clippy` --- src/comments/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comments') diff --git a/src/comments/mod.rs b/src/comments/mod.rs index aa4cc06..5fbc3fb 100644 --- a/src/comments/mod.rs +++ b/src/comments/mod.rs @@ -32,7 +32,7 @@ mod display; pub async fn get_comments(app: &App) -> Result { let currently_playing_video: Video = - if let Some(video) = get_currently_playing_video(&app).await? { + if let Some(video) = get_currently_playing_video(app).await? { video } else { bail!("Could not find a currently playing video!"); -- cgit 1.4.1