From 360f591f3787c35ff929f9dbc294810b7abeb395 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 22 Oct 2026 21:38:04 +0200 Subject: [PATCH] Tools: satisfy clippy's simplified boolean check --- crates/tools/src/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))