Skip to content

Commit 067bfe3

Browse files
authored
Rollup merge of rust-lang#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 rust-lang#89210
2 parents aef4577 + 7355376 commit 067bfe3

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)