diff options
Diffstat (limited to 'library/src/compute')
| -rw-r--r-- | library/src/compute/foundations.rs | 10 |
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 |
