diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-07-08 11:33:33 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2021-07-08 11:33:33 +0200 |
| commit | 99b5d2a88ffae4923a0076bc2c669cc3cc0affed (patch) | |
| tree | 43a80fccfe5df7a82b5af6f3f2ff7da02fd65c85 | |
| parent | 10d6b34d32e377798868586d2d8e25d972cbeb0d (diff) | |
| download | rust-99b5d2a88ffae4923a0076bc2c669cc3cc0affed.tar.gz rust-99b5d2a88ffae4923a0076bc2c669cc3cc0affed.zip | |
Fix typo in comment.
| -rw-r--r-- | compiler/rustc_typeck/src/check/method/prelude2021.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_typeck/src/check/method/prelude2021.rs b/compiler/rustc_typeck/src/check/method/prelude2021.rs index f853c0fd9cc..f13e23914f7 100644 --- a/compiler/rustc_typeck/src/check/method/prelude2021.rs +++ b/compiler/rustc_typeck/src/check/method/prelude2021.rs @@ -208,7 +208,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { return; } - // For from_iter, check if the type actualy implements FromIterator. + // For from_iter, check if the type actually implements FromIterator. // If we know it does not, we don't need to warn. if method_name.name == sym::from_iter { if let Some(trait_def_id) = self.tcx.get_diagnostic_item(sym::FromIterator) { |
