summaryrefslogtreecommitdiff
path: root/library/src/math/root.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-10 12:55:21 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-10 12:55:21 +0100
commit62f35602a87574dcc607f1637aeae1be574981ff (patch)
tree363a1918006e06d7d79dc2ace5f8e59cd3b6bb19 /library/src/math/root.rs
parentc38d72383d2068361d635d6c1c78ba97aa917801 (diff)
New #[func] macro
Diffstat (limited to 'library/src/math/root.rs')
-rw-r--r--library/src/math/root.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/src/math/root.rs b/library/src/math/root.rs
index e190c65f..cb01e6a1 100644
--- a/library/src/math/root.rs
+++ b/library/src/math/root.rs
@@ -12,7 +12,6 @@ use super::*;
#[node(LayoutMath)]
pub struct SqrtNode {
/// The expression to take the square root of.
- #[positional]
#[required]
pub radicand: Content,
}
@@ -35,12 +34,10 @@ impl LayoutMath for SqrtNode {
#[node(LayoutMath)]
pub struct RootNode {
/// Which root of the radicand to take.
- #[positional]
#[required]
index: Content,
/// The expression to take the root of.
- #[positional]
#[required]
radicand: Content,
}