From 159961fb285f08b40e4482dbbb180af9c60851cc Mon Sep 17 00:00:00 2001 From: Chayim Refael Friedman Date: Sun, 20 Mar 2022 20:52:22 +0200 Subject: [PATCH] Fix typo interator->iterator --- compiler/rustc_typeck/src/check/method/suggest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_typeck/src/check/method/suggest.rs b/compiler/rustc_typeck/src/check/method/suggest.rs index 010405cfd52..bf7db8221a2 100644 --- a/compiler/rustc_typeck/src/check/method/suggest.rs +++ b/compiler/rustc_typeck/src/check/method/suggest.rs @@ -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() {