summaryrefslogtreecommitdiff
path: root/library/src/math/root.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-17 14:38:03 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-17 14:38:03 +0200
commit42afa410ae561eb5b267080d088bca529a5d0b54 (patch)
treebdea7348daef7409490ba542f9bdec5d52732d03 /library/src/math/root.rs
parent8971588486b6ffa9269344b4bda71de86af9d908 (diff)
Better documentation outlines
Diffstat (limited to 'library/src/math/root.rs')
-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 7e00c45a..05f3a2a7 100644
--- a/library/src/math/root.rs
+++ b/library/src/math/root.rs
@@ -2,7 +2,7 @@ use super::*;
/// A square root.
///
-/// ## Example
+/// ## Example { #example }
/// ```example
/// $ sqrt(x^2) = x = sqrt(x)^2 $
/// ```
@@ -20,7 +20,7 @@ pub fn sqrt(
/// A general root.
///
-/// ## Example
+/// ## Example { #example }
/// ```example
/// $ root(3, x) $
/// ```