diff options
| author | Rageking8 <tomleetyt@gmail.com> | 2022-10-21 17:40:36 +0800 |
|---|---|---|
| committer | Rageking8 <tomleetyt@gmail.com> | 2022-10-21 18:04:00 +0800 |
| commit | 62a2a1d257e6776bcd669ca5dd7a2c7a30017ce2 (patch) | |
| tree | 0cc0e9683328f6376ca02593f2414b2b791a3f40 /compiler/rustc_trait_selection/src | |
| parent | b1ab3b738ac718da74cd4aa0bb7f362d0adbdf84 (diff) | |
| download | rust-62a2a1d257e6776bcd669ca5dd7a2c7a30017ce2.tar.gz rust-62a2a1d257e6776bcd669ca5dd7a2c7a30017ce2.zip | |
fix some typos
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/project.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/project.rs b/compiler/rustc_trait_selection/src/traits/project.rs index 693c1728931..c8276854016 100644 --- a/compiler/rustc_trait_selection/src/traits/project.rs +++ b/compiler/rustc_trait_selection/src/traits/project.rs @@ -264,7 +264,7 @@ fn project_and_unify_type<'cx, 'tcx>( }; debug!(?normalized, ?obligations, "project_and_unify_type result"); let actual = obligation.predicate.term; - // For an example where this is neccessary see src/test/ui/impl-trait/nested-return-type2.rs + // For an example where this is necessary see src/test/ui/impl-trait/nested-return-type2.rs // This allows users to omit re-mentioning all bounds on an associated type and just use an // `impl Trait` for the assoc type to add more bounds. let InferOk { value: actual, obligations: new } = |
