about summary refs log tree commit diff stats
path: root/src/watch/events
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/watch/events
parentrefactor(treewide): Conform to `cargo clippy` (diff)
downloadyt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.tar.gz
yt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.zip
style(treewide): Reformat
Diffstat (limited to 'src/watch/events')
-rw-r--r--src/watch/events/mod.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/watch/events/mod.rs b/src/watch/events/mod.rs
index 1459147..41a7772 100644
--- a/src/watch/events/mod.rs
+++ b/src/watch/events/mod.rs
@@ -69,11 +69,7 @@ impl MpvEventHandler {
         let current_playlist = self.playlist_handler.playlist_ids(mpv)?;
         let play_things = play_things
             .into_iter()
-            .filter(|val| {
-                !current_playlist
-                    .values()
-                    .any(|a| a == &val.extractor_hash)
-            })
+            .filter(|val| !current_playlist.values().any(|a| a == &val.extractor_hash))
             .filter(|val| {
                 if self
                     .watch_later_block_list