From e9be4219b63cbb4fdfe8de8779481568a69ceb8a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Aug 2024 17:35:02 +0200 Subject: style(treewide): Reformat --- src/watch/events/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/watch/events/mod.rs') 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 -- cgit 1.4.1