From aa8a5bf42fa5f6e70faf374696888c640fae9e4e Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 26 Feb 2023 23:07:50 +0100 Subject: Documentation fixes --- library/src/compute/foundations.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'library/src/compute') 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 { /// 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 { /// /// ## 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 -- cgit v1.2.3