We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9f008b commit 06b17a2Copy full SHA for 06b17a2
library/alloc/src/slice.rs
@@ -373,6 +373,8 @@ impl<T> [T] {
373
///
374
/// During sorting, the key function is called at most once per element, by using
375
/// temporary storage to remember the results of key evaluation.
376
+ /// The order of calls to the key function is unspecified and may change in future versions
377
+ /// of the standard library.
378
379
/// This sort is stable (i.e., does not reorder equal elements) and *O*(*m* \* *n* + *n* \* log(*n*))
380
/// worst-case, where the key function is *O*(*m*).
0 commit comments