Skip to content

Commit

Permalink
Auto merge of rust-lang#11638 - samueltardieu:into-iter, r=Manishearth
Browse files Browse the repository at this point in the history
Fix two typos in lint description

Fix rust-lang#11636

changelog: none
  • Loading branch information
bors committed Oct 7, 2023
2 parents 7624045 + bffba76 commit 33f49f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/iter_without_into_iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ declare_clippy_lint! {
///
/// ### Why is this bad?
/// It's not bad, but having them is idiomatic and allows the type to be used in iterator chains
/// by just calling `.iter()`, instead of the more awkward `<&Type>::into_iter` or `(&val).iter()` syntax
/// in case of ambiguity with another `Intoiterator` impl.
/// by just calling `.iter()`, instead of the more awkward `<&Type>::into_iter` or `(&val).into_iter()` syntax
/// in case of ambiguity with another `IntoIterator` impl.
///
/// ### Example
/// ```rust
Expand Down

0 comments on commit 33f49f3

Please sign in to comment.