Make array.chunks example more readable (#5975)

This commit is contained in:
Andrew Voynov 2025-03-03 14:31:39 +03:00 committed by Laurenz
parent d97967dd40
commit e0074dfc01

View File

@ -769,7 +769,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]