summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/math
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-library/src/math
parent5672cc2a29379f7743f66c46a7192d698a733047 (diff)
Use `codex` for symbols (#5421)
Diffstat (limited to 'crates/typst-library/src/math')
-rw-r--r--crates/typst-library/src/math/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/typst-library/src/math/mod.rs b/crates/typst-library/src/math/mod.rs
index 53b1f072..5a83c854 100644
--- a/crates/typst-library/src/math/mod.rs
+++ b/crates/typst-library/src/math/mod.rs
@@ -207,9 +207,7 @@ pub fn module() -> Module {
math.define("wide", HElem::new(WIDE.into()).pack());
// Symbols.
- for (name, symbol) in crate::symbols::SYM {
- math.define(*name, symbol.clone());
- }
+ crate::symbols::define_math(&mut math);
Module::new("math", math)
}