From 99b5d2a88ffae4923a0076bc2c669cc3cc0affed Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Thu, 8 Jul 2021 11:33:33 +0200 Subject: [PATCH] Fix typo in comment. --- compiler/rustc_typeck/src/check/method/prelude2021.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ pub(super) fn lint_fully_qualified_call_from_2018( 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) {