summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/math/root.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-library/src/math/root.rs')
-rw-r--r--crates/typst-library/src/math/root.rs2
1 files changed, 1 insertions, 1 deletions
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())
}
}