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-25 17:35:02 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-25 17:35:02 +0200
commite9be4219b63cbb4fdfe8de8779481568a69ceb8a (patch)
treed2568d4e482768c90c625a7a7ffd5a632811ba30 /src/update/mod.rs
parentrefactor(treewide): Conform to `cargo clippy` (diff)
downloadyt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.tar.gz
yt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.zip
style(treewide): Reformat
Diffstat (limited to 'src/update/mod.rs')
-rw-r--r--src/update/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/update/mod.rs b/src/update/mod.rs
index 69551ed..ce0a7e5 100644
--- a/src/update/mod.rs
+++ b/src/update/mod.rs
@@ -181,7 +181,8 @@ async fn process_subscription(
 
         // TODO: The algorithm is not exactly the best <2024-05-28>
         (Some(thumbnails), None) => Some(
-            thumbnails.first()
+            thumbnails
+                .first()
                 .expect("At least one should exist")
                 .url
                 .clone(),