From 04e6a1f28110e0648a72d44b0b4efda95d7fe8ad Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sat, 24 Oct 2026 02:17:05 +0000 Subject: [PATCH] style: apply rustfmt to warichu helper --- crates/compose/src/warichu.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/crates/compose/src/warichu.rs b/crates/compose/src/warichu.rs index 3bd3fa99..6026d7e4 100644 --- a/crates/compose/src/warichu.rs +++ b/crates/compose/src/warichu.rs @@ -261,15 +261,7 @@ fn position_warichu_rows( } } -fn shift_non_member_glyphs( - line: &mut [PlacedGlyph], - members: &[usize], - old_xs: &[f64], - old_x0: f64, - old_right: f64, - delta: f64, - scale: f64, -) { +fn shift_non_member_glyphs(line: &mut [PlacedGlyph], members: &[usize], old_xs: &[f64], old_x0: f64, old_right: f64, delta: f64, scale: f64) { let mut placed: Vec<(f64, f64)> = old_xs.iter().enumerate().map(|(i, ox)| (*ox, line[members[i]].x)).collect(); placed.sort_by(|a, b| a.0.total_cmp(&b.0)); let mut member_at = vec![false; line.len()];