From 916dce0e3aa27c96b2e375fdbe35d14ab6df39f5 Mon Sep 17 00:00:00 2001 From: shouya <526598+shouya@users.noreply.github.com> Date: Sat, 28 Sep 2024 02:07:07 +0900 Subject: [PATCH] apply clippy suggestion --- src/filter_cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filter_cache.rs b/src/filter_cache.rs index 63ee60e..4ff207e 100644 --- a/src/filter_cache.rs +++ b/src/filter_cache.rs @@ -109,7 +109,7 @@ impl FilterCache { } // add any remaining posts from the output feed - final_output_posts.extend(output_posts.into_iter().rev().map(|x| Some(x))); + final_output_posts.extend(output_posts.into_iter().rev().map(Some)); let final_output_posts = final_output_posts.into_iter().flatten().collect(); output_feed.set_posts(final_output_posts);