about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-09-25 18:22:20 -0700
committerGitHub <noreply@github.com>2021-09-25 18:22:20 -0700
commit067bfe3618f9c3e21723c5946e7302968b518d6e (patch)
tree3d0af0025170d9409ee7aaa7b52022bd7ec9accb
parentaef45770f835d75242627f400840c78794f98072 (diff)
parent7355376d5b35b75b16469869c0313d47a9d6b2cc (diff)
downloadrust-067bfe3618f9c3e21723c5946e7302968b518d6e.tar.gz
rust-067bfe3618f9c3e21723c5946e7302968b518d6e.zip
Rollup merge of #89216 - r00ster91:bigo, r=dtolnay
Consistent big O notation

This makes the big O time complexity notation in places with markdown support more consistent.
Inspired by #89210
-rw-r--r--clippy_lints/src/methods/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index a04b325b56e..8a699f13f2e 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -995,7 +995,7 @@ declare_clippy_lint! {
 declare_clippy_lint! {
     /// ### What it does
     /// Checks for use of `.iter().nth()` (and the related
-    /// `.iter_mut().nth()`) on standard library types with O(1) element access.
+    /// `.iter_mut().nth()`) on standard library types with *O*(1) element access.
     ///
     /// ### Why is this bad?
     /// `.get()` and `.get_mut()` are more efficient and more