summaryrefslogtreecommitdiff
path: root/library/src/compute
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-26 23:07:50 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-26 23:07:50 +0100
commitaa8a5bf42fa5f6e70faf374696888c640fae9e4e (patch)
tree760187b248ebffc5b319f91f14773303f6f3253a /library/src/compute
parent7597b997890647aa0546ec7bfef1eae4e33cedcb (diff)
Documentation fixes
Diffstat (limited to 'library/src/compute')
-rw-r--r--library/src/compute/foundations.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/src/compute/foundations.rs b/library/src/compute/foundations.rs
index f17af219..ccf7a165 100644
--- a/library/src/compute/foundations.rs
+++ b/library/src/compute/foundations.rs
@@ -86,8 +86,8 @@ pub fn panic(args: &mut Args) -> SourceResult<Value> {
/// produce any output in the document.
///
/// ## Example
-/// ```example
-/// #assert(1 < 2, message: "one is")
+/// ```typ
+/// #assert(1 < 2, message: "math broke")
/// ```
///
/// ## Parameters
@@ -119,9 +119,9 @@ pub fn assert(args: &mut Args) -> SourceResult<Value> {
///
/// ## Example
/// ```example
-/// #eval("1 + 2") \
-/// #eval("[*Strong text*]") \
-/// #eval("(1, 2, 3)").len()
+/// #eval("1 + 1") \
+/// #eval("(1, 2, 3, 4)").len() \
+/// #eval("[*Strong text*]")
/// ```
///
/// ## Parameters