From 76746924fda5aa65db1d693dbe5079bb5a20f8ed Mon Sep 17 00:00:00 2001 From: aiongg Date: Fri, 9 Oct 2026 22:54:32 +0000 Subject: [PATCH] Integration: rustfmt the composite note label call in shape_para The #126 merge resolution moved #126's composite-font note label shaping into #81's piece pass and passed #81's StyleRuns; the resulting call is longer than one line. --- crates/compose/src/shape.rs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/crates/compose/src/shape.rs b/crates/compose/src/shape.rs index 4ef99f9c6..b3977ca2a 100644 --- a/crates/compose/src/shape.rs +++ b/crates/compose/src/shape.rs @@ -417,7 +417,18 @@ pub(crate) fn shape_para( let style = table.intern(db, &props); let env = table.env_for(first.env, style); let face = db.face(&props.font_family, &props.font_style); - shape_segment(db, &story.text, first.range.clone(), label.get(a..b), &props, &face, env, &StyleRuns(&[(at, style)]), &mut glyphs, sub.vertical); + shape_segment( + db, + &story.text, + first.range.clone(), + label.get(a..b), + &props, + &face, + env, + &StyleRuns(&[(at, style)]), + &mut glyphs, + sub.vertical, + ); } for (index, glyph) in glyphs[begin..].iter_mut().enumerate() { glyph.len = if index == 0 { first.range.len() } else { 0 };