From 14b90ddd8832fbc08c1912e1ebbc13ae2c089715 Mon Sep 17 00:00:00 2001 From: PanPDX Date: Thu, 15 Oct 2026 01:21:10 -0700 Subject: [PATCH] style(text): format area.rs Co-Authored-By: Claude Opus 5.5 --- crates/text/src/area.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/text/src/area.rs b/crates/text/src/area.rs index 0106e3878d..aab563e623 100644 --- a/crates/text/src/area.rs +++ b/crates/text/src/area.rs @@ -375,11 +375,9 @@ mod tests { fn curves_are_flattened() { // A circle of radius 50 centred on (50, 50) from four kappa curves. let k = 0.552_284_75 * 50.0; - let c = |x: f64, y: f64, ix: f64, iy: f64, ox: f64, oy: f64| Knot::smooth( - photocraft_geom::Point::new(x, y), - photocraft_geom::Point::new(ix, iy), - photocraft_geom::Point::new(ox, oy), - ); + let c = |x: f64, y: f64, ix: f64, iy: f64, ox: f64, oy: f64| { + Knot::smooth(photocraft_geom::Point::new(x, y), photocraft_geom::Point::new(ix, iy), photocraft_geom::Point::new(ox, oy)) + }; let circle = Subpath { closed: true, knots: vec![