Skip to content

Commit 159961f

Browse files
Fix typo interator->iterator
1 parent 9bd5371 commit 159961f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_typeck/src/check/method/suggest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
599599

600600
// Make sure that, if any traits other than the found ones were involved,
601601
// we don't don't report an unimplemented trait.
602-
// We don't want to say that `iter::Cloned` is not an interator, just
602+
// We don't want to say that `iter::Cloned` is not an iterator, just
603603
// because of some non-Clone item being iterated over.
604604
for (predicate, _parent_pred, _cause) in &unsatisfied_predicates {
605605
match predicate.kind().skip_binder() {

0 commit comments

Comments
 (0)