From bc728eb00bb7b5b4a8e48061000cd12cff63520f Mon Sep 17 00:00:00 2001 From: Malo <57839069+MDLC01@users.noreply.github.com> Date: Sun, 29 Jun 2025 14:44:13 +0100 Subject: [PATCH] Fix formatting --- crates/typst-layout/src/inline/shaping.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typst-layout/src/inline/shaping.rs b/crates/typst-layout/src/inline/shaping.rs index 99638be26..743445fbe 100644 --- a/crates/typst-layout/src/inline/shaping.rs +++ b/crates/typst-layout/src/inline/shaping.rs @@ -393,7 +393,7 @@ impl<'a> ShapedText<'a> { pub fn stretchability(&self) -> Abs { self.glyphs .iter() - .map(|g|( g.stretchability().0 + g.stretchability().1).at(g.size)) + .map(|g| (g.stretchability().0 + g.stretchability().1).at(g.size)) .sum() }