Skip to content

Commit 99b5d2a

Browse files
committed
Fix typo in comment.
1 parent 10d6b34 commit 99b5d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_typeck/src/check/method/prelude2021.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
208208
return;
209209
}
210210

211-
// For from_iter, check if the type actualy implements FromIterator.
211+
// For from_iter, check if the type actually implements FromIterator.
212212
// If we know it does not, we don't need to warn.
213213
if method_name.name == sym::from_iter {
214214
if let Some(trait_def_id) = self.tcx.get_diagnostic_item(sym::FromIterator) {

0 commit comments

Comments
 (0)