From ce5a88b7854965179b551cc0680cd04894476e3c Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 12 Oct 2026 14:26:50 -0400 Subject: [PATCH] Text: tidy the line pitch test Co-Authored-By: Claude Opus 5.5 (1M context) --- crates/text/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/text/src/tests.rs b/crates/text/src/tests.rs index c8993ba40..09595764e 100644 --- a/crates/text/src/tests.rs +++ b/crates/text/src/tests.rs @@ -500,7 +500,7 @@ fn single_spaced_lines_are_1_2_times_the_size_apart_whatever_the_font() { let (p, mut sh) = bidi_setup(vec![run], 2000.0, false, Align::Left); let t = sh.text.as_mut().unwrap(); t.body.autofit = Some(AutoFit::None); - let mut second = t.paragraphs[0].clone(); + let second = t.paragraphs[0].clone(); t.paragraphs.push(second.clone()); t.paragraphs.push(second); for para in &mut t.paragraphs {