summaryrefslogtreecommitdiff
path: root/src/library/math/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-03-12 14:24:24 +0100
committerLaurenz <laurmaedje@gmail.com>2022-03-12 14:24:24 +0100
commit2890a156d27c02a101137bf01dc2046597110bd1 (patch)
treec6bdeb48242c0fbd5b5e13120ca3c8f502d41b75 /src/library/math/mod.rs
parent5ac7eb3860ebd3247f6486c227e816894cb8fd91 (diff)
Remove classes and improve naming
Diffstat (limited to 'src/library/math/mod.rs')
-rw-r--r--src/library/math/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/math/mod.rs b/src/library/math/mod.rs
index b43db22e..f20d6543 100644
--- a/src/library/math/mod.rs
+++ b/src/library/math/mod.rs
@@ -11,7 +11,7 @@ pub struct MathNode {
pub display: bool,
}
-#[class]
+#[node(showable)]
impl MathNode {
fn construct(_: &mut Context, args: &mut Args) -> TypResult<Content> {
Ok(Content::show(Self {