diff options
| author | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-03-30 15:14:15 -0400 |
|---|---|---|
| committer | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-03-30 15:14:15 -0400 |
| commit | 5160f8f843e1dbd43cf341cc8aa5d917d22c98b9 (patch) | |
| tree | 98f378da3bf249dd192f6b9048a81c86238b6e91 /compiler/rustc_trait_selection/src/traits/project.rs | |
| parent | 3e7514670db841a7f0d7656f3b13b1c8b2c11599 (diff) | |
| download | rust-5160f8f843e1dbd43cf341cc8aa5d917d22c98b9.tar.gz rust-5160f8f843e1dbd43cf341cc8aa5d917d22c98b9.zip | |
Spellchecking compiler comments
This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues.
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/project.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/project.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/project.rs b/compiler/rustc_trait_selection/src/traits/project.rs index d4ec677a0b1..6bba6b19b90 100644 --- a/compiler/rustc_trait_selection/src/traits/project.rs +++ b/compiler/rustc_trait_selection/src/traits/project.rs @@ -1566,7 +1566,7 @@ fn assemble_candidates_from_impls<'cx, 'tcx>( // fn bar<T:SomeTrait<Foo=usize>>(...) { ... } // ``` // - // Doesn't the `T : Sometrait<Foo=usize>` predicate help + // Doesn't the `T : SomeTrait<Foo=usize>` predicate help // resolve `T::Foo`? And of course it does, but in fact // that single predicate is desugared into two predicates // in the compiler: a trait predicate (`T : SomeTrait`) and a @@ -1989,7 +1989,7 @@ fn confirm_impl_candidate<'cx, 'tcx>( // Get obligations corresponding to the predicates from the where-clause of the // associated type itself. // Note: `feature(generic_associated_types)` is required to write such -// predicates, even for non-generic associcated types. +// predicates, even for non-generic associated types. fn assoc_ty_own_obligations<'cx, 'tcx>( selcx: &mut SelectionContext<'cx, 'tcx>, obligation: &ProjectionTyObligation<'tcx>, |
