From 1d86f418315a2dd632016c32bfedfcf2af1b0369 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 29 Jan 2023 23:41:54 +0100 Subject: Remove more blocks --- library/src/compute/data.rs | 4 ++-- library/src/compute/foundations.rs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'library/src/compute') 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 { /// /// ## 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 -- cgit v1.2.3