Skip to content

Commit 33f49f3

Browse files
committed
Auto merge of #11638 - samueltardieu:into-iter, r=Manishearth
Fix two typos in lint description Fix #11636 changelog: none
2 parents 7624045 + bffba76 commit 33f49f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/iter_without_into_iter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ declare_clippy_lint! {
5858
///
5959
/// ### Why is this bad?
6060
/// It's not bad, but having them is idiomatic and allows the type to be used in iterator chains
61-
/// by just calling `.iter()`, instead of the more awkward `<&Type>::into_iter` or `(&val).iter()` syntax
62-
/// in case of ambiguity with another `Intoiterator` impl.
61+
/// by just calling `.iter()`, instead of the more awkward `<&Type>::into_iter` or `(&val).into_iter()` syntax
62+
/// in case of ambiguity with another `IntoIterator` impl.
6363
///
6464
/// ### Example
6565
/// ```rust

0 commit comments

Comments
 (0)