diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-17 16:24:29 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-17 16:24:29 +0100 |
| commit | 35b16e545b4fce299edbc00c9a9754179fa51634 (patch) | |
| tree | eb1081e55187e59ff6482abc1ac2f1932606ef59 /library/src/lib.rs | |
| parent | b6202b646a0d5ecced301d9bac8bfcaf977d7ee4 (diff) | |
Document parameters in comment
Diffstat (limited to 'library/src/lib.rs')
| -rw-r--r-- | library/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/src/lib.rs b/library/src/lib.rs index 2d03ef7c..7e65ff79 100644 --- a/library/src/lib.rs +++ b/library/src/lib.rs @@ -50,7 +50,6 @@ fn scope() -> Scope { // Math. std.def_func::<math::MathNode>("math"); - std.def_func::<math::AtomNode>("atom"); std.def_func::<math::AccNode>("acc"); std.def_func::<math::FracNode>("frac"); std.def_func::<math::BinomNode>("binom"); @@ -203,7 +202,7 @@ fn items() -> LangItems { desc_item: |term, body| { basics::ListItem::Desc(Box::new(basics::DescItem { term, body })).pack() }, - math: |children, display| math::MathNode { children, display }.pack(), + math: |children, block| math::MathNode { children, block }.pack(), math_atom: |atom| math::AtomNode(atom).pack(), math_script: |base, sub, sup| math::ScriptNode { base, sub, sup }.pack(), math_frac: |num, denom| math::FracNode { num, denom }.pack(), |
