summaryrefslogtreecommitdiff
path: root/library/src/math
diff options
context:
space:
mode:
authorMarmare314 <49279081+Marmare314@users.noreply.github.com>2023-05-03 11:16:38 +0200
committerGitHub <noreply@github.com>2023-05-03 11:16:38 +0200
commitedc0632d8c9d7a17cc795a57de27c6b22a748158 (patch)
treea1c6e412512bed7b56c7c100b8affeac7e29f389 /library/src/math
parent2772e6436c8a010662820c3e545e69ab922f133a (diff)
Add shorthand for root operation (#929)
Diffstat (limited to 'library/src/math')
-rw-r--r--library/src/math/root.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/math/root.rs b/library/src/math/root.rs
index 8b272160..7e00c45a 100644
--- a/library/src/math/root.rs
+++ b/library/src/math/root.rs
@@ -31,11 +31,11 @@ pub fn sqrt(
pub struct RootElem {
/// Which root of the radicand to take.
#[positional]
- index: Option<Content>,
+ pub index: Option<Content>,
/// The expression to take the root of.
#[required]
- radicand: Content,
+ pub radicand: Content,
}
impl LayoutMath for RootElem {