Fix typos

Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
This commit is contained in:
chloefeal 2024-12-27 21:35:57 +08:00
parent 42591a4cc0
commit e1b65be417
No known key found for this signature in database
GPG key ID: DB2DEF3B18BF5BCA
6 changed files with 6 additions and 6 deletions

View file

@ -1843,7 +1843,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
// a global and a non-global where-clause.
//
// Our handling of where-bounds is generally fairly messy but necessary for backwards
// compatability, see #50825 for why we need to handle global where-bounds like this.
// compatibility, see #50825 for why we need to handle global where-bounds like this.
let is_global = |c: ty::PolyTraitPredicate<'tcx>| c.is_global() && !c.has_bound_vars();
let param_candidates = candidates
.iter()