diff --git a/crates/eps/src/import/native/plan.rs b/crates/eps/src/import/native/plan.rs index e4eec8cdc5..a23e8ea324 100644 --- a/crates/eps/src/import/native/plan.rs +++ b/crates/eps/src/import/native/plan.rs @@ -404,7 +404,9 @@ fn joined_by_two(word: &str, by: &[Arc]) -> bool { by.iter().map(Arc::as_ref).any(|(at, (a, b), first)| { let Some(head) = first.last().filter(|h| word.len() > h.len() && word.starts_with(h.as_str())) else { return false }; let tail = &word[head.len()..]; - by.iter().map(Arc::as_ref).any(|(next, _, second)| (next.x - at.x) * a + (next.y - at.y) * b > 0.0 && second.first().is_some_and(|w| w == tail)) + by.iter() + .map(Arc::as_ref) + .any(|(next, _, second)| (next.x - at.x) * a + (next.y - at.y) * b > 0.0 && second.first().is_some_and(|w| w == tail)) }) }