From c0f6d2004afebfa9412ba0c2d598ef8287197c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20d=27Herbais=20de=20Thun?= Date: Mon, 6 Nov 2023 21:37:50 +0100 Subject: Content rework 2 - Electric Boogaloo (#2504) --- crates/typst-library/src/math/root.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/typst-library/src/math/root.rs') diff --git a/crates/typst-library/src/math/root.rs b/crates/typst-library/src/math/root.rs index 49ceb75f..13c5c147 100644 --- a/crates/typst-library/src/math/root.rs +++ b/crates/typst-library/src/math/root.rs @@ -32,7 +32,7 @@ pub struct RootElem { impl LayoutMath for RootElem { #[tracing::instrument(skip(ctx))] fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()> { - layout(ctx, self.index(ctx.styles()).as_ref(), &self.radicand(), self.span()) + layout(ctx, self.index(ctx.styles()).as_ref(), self.radicand(), self.span()) } } -- cgit v1.2.3