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.
This commit is contained in:
Matthias Krüger 2023-07-17 00:14:05 +02:00 committed by GitHub
commit 80599b93a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2957,7 +2957,7 @@ impl<T> [T] {
/// elements.
///
/// This sort is unstable (i.e., may reorder equal elements), in-place
/// (i.e., does not allocate), and *O*(m \* *n* \* log(*n*)) worst-case, where the key function is
/// (i.e., does not allocate), and *O*(*m* \* *n* \* log(*n*)) worst-case, where the key function is
/// *O*(*m*).
///
/// # Current implementation