mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Fix typo in comment.
This commit is contained in:
parent
10d6b34d32
commit
99b5d2a88f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user