summaryrefslogtreecommitdiff
path: root/crates/typst-eval/src/math.rs
diff options
context:
space:
mode:
authorMalo <57839069+MDLC01@users.noreply.github.com>2024-11-17 20:08:23 +0100
committerGitHub <noreply@github.com>2024-11-17 19:08:23 +0000
commit5c37a1cfea2a08b08f4af34ba867748fd90c687e (patch)
treed5dec4ae7ff0b3238d84224a325eddc1a1427dee /crates/typst-eval/src/math.rs
parent5672cc2a29379f7743f66c46a7192d698a733047 (diff)
Use `codex` for symbols (#5421)
Diffstat (limited to 'crates/typst-eval/src/math.rs')
-rw-r--r--crates/typst-eval/src/math.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-eval/src/math.rs b/crates/typst-eval/src/math.rs
index c61a3251..51dc0a3d 100644
--- a/crates/typst-eval/src/math.rs
+++ b/crates/typst-eval/src/math.rs
@@ -32,7 +32,7 @@ impl Eval for ast::MathShorthand<'_> {
type Output = Value;
fn eval(self, _: &mut Vm) -> SourceResult<Self::Output> {
- Ok(Value::Symbol(Symbol::single(self.get().into())))
+ Ok(Value::Symbol(Symbol::single(self.get())))
}
}