Skip to content

Commit 7355376

Browse files
committed
consistent big O notation
1 parent edaeacf commit 7355376

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ declare_clippy_lint! {
995995
declare_clippy_lint! {
996996
/// ### What it does
997997
/// Checks for use of `.iter().nth()` (and the related
998-
/// `.iter_mut().nth()`) on standard library types with O(1) element access.
998+
/// `.iter_mut().nth()`) on standard library types with *O*(1) element access.
999999
///
10001000
/// ### Why is this bad?
10011001
/// `.get()` and `.get_mut()` are more efficient and more

0 commit comments

Comments
 (0)