diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-13 17:15:11 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-13 17:15:20 +0100 |
| commit | 28b5c55cd5ef59713239c73d03fa0051623513d3 (patch) | |
| tree | 6e5b1eeba088120ee77237f8086af5f4a34fbc49 /library/src/layout/terms.rs | |
| parent | 05c8c6045cd831a98776b418a7b176af8c6ec546 (diff) | |
Configurable markers for nested lists
Diffstat (limited to 'library/src/layout/terms.rs')
| -rw-r--r-- | library/src/layout/terms.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/layout/terms.rs b/library/src/layout/terms.rs index b1d399db..f2902b80 100644 --- a/library/src/layout/terms.rs +++ b/library/src/layout/terms.rs @@ -82,7 +82,7 @@ impl TermsNode { /// The spacing between the items of a wide (non-tight) term list. /// - /// If set to `{auto}` uses the spacing [below blocks]($func/block.below). + /// If set to `{auto}`, uses the spacing [below blocks]($func/block.below). pub const SPACING: Smart<Spacing> = Smart::Auto; fn construct(_: &Vm, args: &mut Args) -> SourceResult<Content> { @@ -171,7 +171,7 @@ castable! { let mut iter = array.into_iter(); let (term, description) = match (iter.next(), iter.next(), iter.next()) { (Some(a), Some(b), None) => (a.cast()?, b.cast()?), - _ => Err("array must contain exactly two entries")?, + _ => Err("term array must contain exactly two entries")?, }; Self { term, description } }, |
