From 4653ffebb43d733a3cff873d0903c7d00aaeb499 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 23 Jan 2023 15:03:10 +0100 Subject: Math module --- library/src/math/root.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/src/math/root.rs') diff --git a/library/src/math/root.rs b/library/src/math/root.rs index f5c5b2b8..2efe4e07 100644 --- a/library/src/math/root.rs +++ b/library/src/math/root.rs @@ -155,7 +155,7 @@ fn layout( /// Select a precomposed radical, if the font has it. fn precomposed(ctx: &MathContext, index: Option<&Content>, target: Abs) -> Option { - let node = index?.to::()?.body.to::()?; + let node = index?.to::()?.body.to::()?; let c = match node.0.as_str() { "3" => '∛', "4" => '∜', -- cgit v1.2.3