diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-20 20:42:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-20 20:42:46 +0100 |
| commit | e33a4819df2c65f91bf55fd18f0fdd4169e430cc (patch) | |
| tree | 26692f7a676add51e11008c4af76400d85f3cf6f | |
| parent | 63da51db93a5fa4bde6d70a823debec71b207f96 (diff) | |
| parent | 159961fb285f08b40e4482dbbb180af9c60851cc (diff) | |
| download | rust-e33a4819df2c65f91bf55fd18f0fdd4169e430cc.tar.gz rust-e33a4819df2c65f91bf55fd18f0fdd4169e430cc.zip | |
Rollup merge of #95145 - ChayimFriedman2:patch-1, r=Dylan-DPC
Fix typo interator->iterator
| -rw-r--r-- | compiler/rustc_typeck/src/check/method/suggest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |
