Skip to content

Commit bffba76

Browse files
committed
Fix two typos in lint description
1 parent 3662bd8 commit bffba76

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
@@ -56,8 +56,8 @@ declare_clippy_lint! {
5656
///
5757
/// ### Why is this bad?
5858
/// It's not bad, but having them is idiomatic and allows the type to be used in iterator chains
59-
/// by just calling `.iter()`, instead of the more awkward `<&Type>::into_iter` or `(&val).iter()` syntax
60-
/// in case of ambiguity with another `Intoiterator` impl.
59+
/// by just calling `.iter()`, instead of the more awkward `<&Type>::into_iter` or `(&val).into_iter()` syntax
60+
/// in case of ambiguity with another `IntoIterator` impl.
6161
///
6262
/// ### Example
6363
/// ```rust

0 commit comments

Comments
 (0)