summaryrefslogtreecommitdiff
path: root/library/src/compute
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-29 23:41:54 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-29 23:41:54 +0100
commit1d86f418315a2dd632016c32bfedfcf2af1b0369 (patch)
tree843207542c9bde8587159dee143c627684ad0ceb /library/src/compute
parentc3b3bbb9f23604e9003c300cca6f6c7babe944fc (diff)
Remove more blocks
Diffstat (limited to 'library/src/compute')
-rw-r--r--library/src/compute/data.rs4
-rw-r--r--library/src/compute/foundations.rs8
2 files changed, 6 insertions, 6 deletions
diff --git a/library/src/compute/data.rs b/library/src/compute/data.rs
index 63e137e6..16b5fbbd 100644
--- a/library/src/compute/data.rs
+++ b/library/src/compute/data.rs
@@ -166,7 +166,7 @@ fn format_csv_error(error: csv::Error) -> String {
/// )
/// #h(6pt)
/// #set text(22pt, baseline: -8pt)
-/// #{day.temperature} °#{day.unit}
+/// #day.temperature °#day.unit
/// ]
///
/// #forecast(json("monday.json"))
@@ -253,7 +253,7 @@ fn format_json_error(error: serde_json::Error) -> String {
/// heading(title.children.first())
/// text(10pt, weight: "medium")[
/// Published by
-/// #{author.children.first()}
+/// #author.children.first()
/// ]
///
/// for p in pars.children {
diff --git a/library/src/compute/foundations.rs b/library/src/compute/foundations.rs
index c51d5766..2d5d84fe 100644
--- a/library/src/compute/foundations.rs
+++ b/library/src/compute/foundations.rs
@@ -41,10 +41,10 @@ pub fn type_(args: &mut Args) -> SourceResult<Value> {
///
/// ## Example
/// ```
-/// #{ none } vs #repr(none) \
-/// #{ "hello" } vs #repr("hello") \
-/// #{ (1, 2) } vs #repr((1, 2)) \
-/// #{ [*Hi*] } vs #repr([*Hi*])
+/// #none vs #repr(none) \
+/// #"hello" vs #repr("hello") \
+/// #(1, 2) vs #repr((1, 2)) \
+/// #[*Hi*] vs #repr([*Hi*])
/// ```
///
/// ## Parameters