diff --git a/crates/tools/src/builder.rs b/crates/tools/src/builder.rs index 8b0650bebb..8ce5d8e798 100644 --- a/crates/tools/src/builder.rs +++ b/crates/tools/src/builder.rs @@ -343,7 +343,7 @@ impl BuilderMap { drawn.nearest(mid).filter(|n| n.4 <= snap)?; // A run that cannot be cut out, or that is all of the path (such as a lone line), leaves // nothing to split off. - if !po::cut_out(drawn, &run, false, snap).is_some_and(|rest| !rest.is_empty()) { + if po::cut_out(drawn, &run, false, snap).is_none_or(|rest| rest.is_empty()) { return None; } Some((i, run))