about summary refs log tree commit diff stats
path: root/src/update/mod.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-21 19:48:41 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-21 19:48:41 +0200
commit269cf79c5e25b6b3440ad11dee4b0662cdc74221 (patch)
treefff306e1fd44c64dadd8733c76cb0748610ebad9 /src/update/mod.rs
parentbuild(flake): Wrap the yt binary with the required dependencies (diff)
downloadyt-269cf79c5e25b6b3440ad11dee4b0662cdc74221.tar.gz
yt-269cf79c5e25b6b3440ad11dee4b0662cdc74221.zip
docs(yt_dlp/lib): Improve some comments
Diffstat (limited to '')
-rw-r--r--src/update/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/update/mod.rs b/src/update/mod.rs
index 23b17f9..bdd6c27 100644
--- a/src/update/mod.rs
+++ b/src/update/mod.rs
@@ -70,6 +70,8 @@ pub async fn update(
     )
     .lines();
 
+    // We can get away with not having to re-fetch the hashes every time, as the returned video
+    // should not contain duplicates.
     let hashes = get_all_hashes(app).await?;
 
     while let Some(line) = out.next_line().await? {