Rollup merge of #95145 - ChayimFriedman2:patch-1, r=Dylan-DPC

Fix typo interator->iterator
This commit is contained in:
Matthias Krüger 2022-03-20 20:42:46 +01:00 committed by GitHub
commit e33a4819df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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