summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAndrew Voynov <37143421+Andrew15-5@users.noreply.github.com>2025-03-03 14:31:39 +0300
committerGitHub <noreply@github.com>2025-03-03 11:31:39 +0000
commitbf0d45e2c0086ba2ae71eeebbfd26db7dfe7692f (patch)
treedb40ad959cf05ee6e9743ebb9e8bc3a58f1e04b4 /crates
parentd4def0996235a791291bb39a570ae301feea099c (diff)
Make `array.chunks` example more readable (#5975)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst-library/src/foundations/array.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/foundations/array.rs b/crates/typst-library/src/foundations/array.rs
index aad7266b..e81b9e64 100644
--- a/crates/typst-library/src/foundations/array.rs
+++ b/crates/typst-library/src/foundations/array.rs
@@ -751,7 +751,7 @@ impl Array {
///
/// ```example
/// #let array = (1, 2, 3, 4, 5, 6, 7, 8)
- /// #array.chunks(3)
+ /// #array.chunks(3) \
/// #array.chunks(3, exact: true)
/// ```
#[func]