diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-17 00:14:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-17 00:14:05 +0200 |
| commit | 80599b93a48d53c92477f503fd644d80fa9e7eeb (patch) | |
| tree | f88d7ffbea9881dfd081da4172a718968d3d2107 | |
| parent | 3ac0a956fdc22f22b87ba20ab23dd8e6c2d6f3c7 (diff) | |
| parent | 782bdfd791af35053b069f2236d5d488a25e371a (diff) | |
| download | rust-80599b93a48d53c92477f503fd644d80fa9e7eeb.tar.gz rust-80599b93a48d53c92477f503fd644d80fa9e7eeb.zip | |
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.
| -rw-r--r-- | library/core/src/slice/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index e2a2428fbc2..4f13ea9790d 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -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 |
