Auto merge of #100707 - dzvon:fix-typo, r=davidtwco
Fix a bunch of typo This PR will fix some typos detected by [typos]. I only picked the ones I was sure were spelling errors to fix, mostly in the comments. [typos]: https://github.com/crate-ci/typos
This commit is contained in:
commit
b32223fec1
140 changed files with 171 additions and 171 deletions
|
@ -1368,7 +1368,7 @@ impl<'a, 'tcx> LifetimeContext<'a, 'tcx> {
|
|||
return;
|
||||
}
|
||||
|
||||
// We may fail to resolve higher-ranked lifetimes that are mentionned by APIT.
|
||||
// We may fail to resolve higher-ranked lifetimes that are mentioned by APIT.
|
||||
// AST-based resolution does not care for impl-trait desugaring, which are the
|
||||
// responibility of lowering. This may create a mismatch between the resolution
|
||||
// AST found (`region_def_id`) which points to HRTB, and what HIR allows.
|
||||
|
|
|
@ -1991,7 +1991,7 @@ impl<'a> Resolver<'a> {
|
|||
_ => panic!("invalid arg index"),
|
||||
}
|
||||
}
|
||||
// Cache the lookup to avoid parsing attributes for an iterm multiple times.
|
||||
// Cache the lookup to avoid parsing attributes for an item multiple times.
|
||||
self.legacy_const_generic_args.insert(def_id, Some(ret.clone()));
|
||||
return Some(ret);
|
||||
}
|
||||
|
|
|
@ -441,7 +441,7 @@ impl<'a> ResolverExpand for Resolver<'a> {
|
|||
}
|
||||
PathResult::Indeterminate => indeterminate = true,
|
||||
// We can only be sure that a path doesn't exist after having tested all the
|
||||
// posibilities, only at that time we can return false.
|
||||
// possibilities, only at that time we can return false.
|
||||
PathResult::Failed { .. } => {}
|
||||
PathResult::Module(_) => panic!("unexpected path resolution"),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue