summaryrefslogtreecommitdiff
path: root/library/src/compute/data.rs
diff options
context:
space:
mode:
authorMartin Haug <mhaug@live.de>2023-01-29 23:26:31 +0100
committerMartin Haug <mhaug@live.de>2023-01-29 23:26:31 +0100
commitc3b3bbb9f23604e9003c300cca6f6c7babe944fc (patch)
treea25d527b903a84c491f5a886bad55132591aa268 /library/src/compute/data.rs
parentc987f07b76b18d8762a0ef48740ecc71722540f0 (diff)
Update remaining examples
Diffstat (limited to 'library/src/compute/data.rs')
-rw-r--r--library/src/compute/data.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/compute/data.rs b/library/src/compute/data.rs
index bf747ec6..63e137e6 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 {