From 2f9a6d9b376e1876376f92ecfaa851a5cb16061a Mon Sep 17 00:00:00 2001 From: fantacell Date: Tue, 26 Aug 2025 18:33:08 +0200 Subject: [PATCH] Actually fix clippy --- crates/vim/src/helix/boundary.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/vim/src/helix/boundary.rs b/crates/vim/src/helix/boundary.rs index df4590ca04..ea00663772 100644 --- a/crates/vim/src/helix/boundary.rs +++ b/crates/vim/src/helix/boundary.rs @@ -571,7 +571,7 @@ impl FuzzyBoundary { let backwards = try_find_preceding_boundary_data(map, from, generate_boundary_data); let boundaries = [forwards, backwards] .into_iter() - .filter_map(|data| data) + .flatten() .filter_map(|(identifier, reach_boundary)| reach_boundary(identifier, map)) .filter(|boundary| match boundary.cmp(&from) { Ordering::Equal => true,