From f8cd3e79829ee224151cb70088211d2e5f526473 Mon Sep 17 00:00:00 2001 From: skylar taylor-barrick Date: Sat, 17 Oct 2026 17:08:37 -0600 Subject: [PATCH] chore: clear the rustc 1.96 clippy lint that fails CI Unrelated to this branch's change; main already fails clippy --all-targets -- -D warnings without it, which is what failed the Windows integration job here. One clippy::nonminimal_bool site in canvas.rs, taking clippy's own rewrite: the negation stays outside, so the is_finite guards and their NaN behaviour are unchanged. A sweep of all 30 workspace members found no other site. --- crates/ui-egui/src/canvas.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/canvas.rs b/crates/ui-egui/src/canvas.rs index 914d395acc..71bb439afa 100644 --- a/crates/ui-egui/src/canvas.rs +++ b/crates/ui-egui/src/canvas.rs @@ -4354,7 +4354,7 @@ pub(crate) fn marching_ants_lines(painter: &egui::Painter, lines: impl Iterator< }; for (pa, pb) in lines { // A transformed outline can land anywhere, or nowhere (a point on a Distort's horizon). - if !(pa.is_finite() && pb.is_finite()) || !clip.intersects(Rect::from_two_pos(pa, pb).expand(1.0)) { + if !(pa.is_finite() && pb.is_finite() && clip.intersects(Rect::from_two_pos(pa, pb).expand(1.0))) { continue; } let (pa, pb) = if pa.distance(pb) > LONG {