1
Fork 0

Rollup merge of #134823 - chloefeal:fix, r=tgross35,dtolnay

Fix typos

This PR focuses on correcting typos and improving clarity in documentation files. Thank you.
This commit is contained in:
David Tolnay 2024-12-27 18:43:03 -08:00 committed by GitHub
commit 9aebd28ca7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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()