diff options
| author | David Tolnay <dtolnay@gmail.com> | 2024-12-27 18:43:03 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-27 18:43:03 -0800 |
| commit | 9aebd28ca75683661fa3e80b1d3f8b390b6826d7 (patch) | |
| tree | 766397e3cdd501f20987a90cd895b9e746b2154e /compiler/rustc_trait_selection/src | |
| parent | dd84b7d5eec3c20d7fcd13e6450af029d3cece9d (diff) | |
| parent | bc054245283069d3b273f22773a3c3425aff07bd (diff) | |
| download | rust-9aebd28ca75683661fa3e80b1d3f8b390b6826d7.tar.gz rust-9aebd28ca75683661fa3e80b1d3f8b390b6826d7.zip | |
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.
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/select/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs index 7857ed95cc7..9e7da5eb368 100644 --- a/compiler/rustc_trait_selection/src/traits/select/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/select/mod.rs @@ -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() |
