diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-25 17:35:02 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-25 17:35:02 +0200 |
commit | e9be4219b63cbb4fdfe8de8779481568a69ceb8a (patch) | |
tree | d2568d4e482768c90c625a7a7ffd5a632811ba30 /src/watch/events/mod.rs | |
parent | refactor(treewide): Conform to `cargo clippy` (diff) | |
download | yt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.tar.gz yt-e9be4219b63cbb4fdfe8de8779481568a69ceb8a.zip |
style(treewide): Reformat
Diffstat (limited to '')
-rw-r--r-- | src/watch/events/mod.rs | 6 |
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 |