mirror of
https://github.com/typst/typst
synced 2025-08-15 15:38:33 +08:00
Other doc improvement
This commit is contained in:
parent
77f2a0547f
commit
57b3cb6955
@ -828,8 +828,8 @@ impl Array {
|
||||
/// function should return `{true}`.
|
||||
///
|
||||
/// If this function does not order the elements properly (e.g., by
|
||||
/// returning `{false}` for both `{(x, y)}` and `{(y, x)}`), the
|
||||
/// resulting array will be in unspecified order.
|
||||
/// returning `{false}` for both `{(x, y)}` and `{(y, x)}`, or for
|
||||
/// `{(x, x)}`), the resulting array will be in unspecified order.
|
||||
///
|
||||
/// When used together with `key`, `by` will be passed the keys instead
|
||||
/// of the elements.
|
||||
|
Loading…
x
Reference in New Issue
Block a user