Skip to content

Commit

Permalink
Rollup merge of rust-lang#89216 - r00ster91:bigo, r=dtolnay
Browse files Browse the repository at this point in the history
Consistent big O notation

This makes the big O time complexity notation in places with markdown support more consistent.
Inspired by rust-lang#89210
  • Loading branch information
Manishearth authored Sep 26, 2021
2 parents aef4577 + 7355376 commit 067bfe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 067bfe3

Please sign in to comment.