Skip to content

Commit

Permalink
apply clippy suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
shouya committed Sep 27, 2024
1 parent 635e1e5 commit 8221514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filter_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8221514

Please sign in to comment.