Skip to content

Commit 80599b9

Browse files
authored
Rollup merge of #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 3ac0a95 + 782bdfd commit 80599b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

+1-1
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)