about summary refs log tree commit diff
diff options
context:
space:
mode:
authornipzu <sampo.siitonen@gmail.com>2023-07-16 12:07:04 +0300
committerGitHub <noreply@github.com>2023-07-16 12:07:04 +0300
commit782bdfd791af35053b069f2236d5d488a25e371a (patch)
treeb79c986dc29d7f98f925c10ee921895c6d2f4a33
parentffb9b61294b96c389d343a4c55b15400249d74e6 (diff)
downloadrust-782bdfd791af35053b069f2236d5d488a25e371a.tar.gz
rust-782bdfd791af35053b069f2236d5d488a25e371a.zip
Fix sort_unstable_by_key italicization
-rw-r--r--library/core/src/slice/mod.rs2
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