mirror of https://github.com/stelzo/typst.git
array: Mention sort stability in the docs (#2129)
This commit is contained in:
parent
360cc9b957
commit
68fc6f5bc0
|
|
@ -702,7 +702,7 @@ impl Array {
|
|||
}
|
||||
|
||||
/// Return a sorted version of this array, optionally by a given key
|
||||
/// function.
|
||||
/// function. The sorting algorithm used is stable.
|
||||
///
|
||||
/// Returns an error if two values could not be compared or if the key
|
||||
/// function (if given) yields an error.
|
||||
|
|
|
|||
Loading…
Reference in New Issue