Auto merge of #11638 - samueltardieu:into-iter, r=Manishearth
Fix two typos in lint description Fix #11636 changelog: none
This commit is contained in:
commit
33f49f33d6
@ -58,8 +58,8 @@
|
||||
///
|
||||
/// ### 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
|
||||
|
Loading…
Reference in New Issue
Block a user