Skip to content

Commit a2f085e

Browse files
Rollup merge of rust-lang#113750 - nipzu:italicize-sort-complexity, r=workingjubilee
Add missing italicization to `sort_unstable_by_key` complexity Other methods like `sort_by_key` already had `m` italicized.
2 parents b4aa429 + 782bdfd commit a2f085e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2957,7 +2957,7 @@ impl<T> [T] {
29572957
/// elements.
29582958
///
29592959
/// This sort is unstable (i.e., may reorder equal elements), in-place
2960-
/// (i.e., does not allocate), and *O*(m \* *n* \* log(*n*)) worst-case, where the key function is
2960+
/// (i.e., does not allocate), and *O*(*m* \* *n* \* log(*n*)) worst-case, where the key function is
29612961
/// *O*(*m*).
29622962
///
29632963
/// # Current implementation

0 commit comments

Comments
 (0)