Apply rustfmt layout to subpixel blur regression

This commit is contained in:
FredApps committed 2026-10-29 23:54:51 +01:00
1 parent c93c0bb36d
commit 47eaae523f
1 file changed
+1 -7
+1 -7
View File
@@ -138,13 +138,7 @@ mod tests {
if let Some(Separable::Kernel(k)) = Separable::of(&params) {
// Calibrated subpixel kernels have tails below the visibility threshold.
let center = k.len() / 2;
let visible = k
.iter()
.enumerate()
.filter(|(_, w)| **w * k[center] > 1e-6)
.map(|(i, _)| i.abs_diff(center))
.max()
.unwrap_or(0);
let visible = k.iter().enumerate().filter(|(_, w)| **w * k[center] > 1e-6).map(|(i, _)| i.abs_diff(center)).max().unwrap_or(0);
assert_eq!(touched, dot.inflate(visible as i32), "radius {radius}");
}
}