about summary refs log tree commit diff
diff options
context:
space:
mode:
authorr00ster91 <r00ster91@protonmail.com>2021-09-24 12:44:28 +0200
committerr00ster91 <r00ster91@protonmail.com>2021-09-24 12:44:28 +0200
commit7355376d5b35b75b16469869c0313d47a9d6b2cc (patch)
tree3fc9163bcb89057db830b1c60167119958dc8bf6
parentedaeacfbbbdf39735ee2d14a6f3ebe5fc5137124 (diff)
downloadrust-7355376d5b35b75b16469869c0313d47a9d6b2cc.tar.gz
rust-7355376d5b35b75b16469869c0313d47a9d6b2cc.zip
consistent big O notation
-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 e89b2d295b9..e4d34524f72 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