about summary refs log tree commit diff stats
path: root/src/comments
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-25 17:30:02 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-25 17:30:02 +0200
commita60cd8f2a96aae3f7db8dfccec2aa5cf21f8c411 (patch)
tree24dc96e5384cf9309ae4ec00d6d91497e3253484 /src/comments
parentdocs(yt_dlp/progress_hook): Add a note about the possibility to calculate vid... (diff)
downloadyt-a60cd8f2a96aae3f7db8dfccec2aa5cf21f8c411.tar.gz
yt-a60cd8f2a96aae3f7db8dfccec2aa5cf21f8c411.zip
refactor(treewide): Conform to `cargo clippy`
Diffstat (limited to '')
-rw-r--r--src/comments/mod.rs2
1 files changed, 1 insertions, 1 deletions
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<Comments> {
     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!");