From 8708cbb93d394bae686bdebbfa9e13c4c574ed95 Mon Sep 17 00:00:00 2001 From: Tiago Kiel <186439951+TiagoCK@users.noreply.github.com> Date: Sat, 17 Oct 2026 10:34:02 -0400 Subject: [PATCH] style(render): rustfmt the comma-below test (refs #1666) Co-Authored-By: Claude Opus 5.5 --- crates/render/src/raster.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/render/src/raster.rs b/crates/render/src/raster.rs index 5fd0b3b0a1..89620d4bc0 100644 --- a/crates/render/src/raster.rs +++ b/crates/render/src/raster.rs @@ -5804,9 +5804,7 @@ trailer << /Root 1 0 R >> assert!(p.error.is_none(), "{font}: {:?}", p.error); // The rows (y down) of the i-th letter that have dark pixels. let ink_rows = |i: u32| -> Vec { - (0..p.height) - .filter(|y| ((8 + 40 * i)..(48 + 40 * i).min(p.width)).any(|x| p.rgba[((y * p.width + x) * 4) as usize] < 128)) - .collect() + (0..p.height).filter(|y| ((8 + 40 * i)..(48 + 40 * i).min(p.width)).any(|x| p.rgba[((y * p.width + x) * 4) as usize] < 128)).collect() }; for (pair, (_, name)) in pairs.iter().enumerate() { let (base, accented) = (ink_rows(2 * pair as u32), ink_rows(2 * pair as u32 + 1));