diff options
| author | cuishuang <imcusg@gmail.com> | 2022-03-01 20:02:47 +0800 |
|---|---|---|
| committer | cuishuang <imcusg@gmail.com> | 2022-03-01 20:02:47 +0800 |
| commit | eb2b9441e789b192b47be510b302b21fdfbaf3a2 (patch) | |
| tree | 6ca2a26607de2c01d298ec0c37d1f4c37e278dfb /compiler/rustc_ast_lowering/src | |
| parent | 4a56cbec59903a830a5fc06c5c81956de4199584 (diff) | |
| download | rust-eb2b9441e789b192b47be510b302b21fdfbaf3a2.tar.gz rust-eb2b9441e789b192b47be510b302b21fdfbaf3a2.zip | |
compiler: fix some typos
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_lowering/src/item.rs b/compiler/rustc_ast_lowering/src/item.rs index 3ddc7fce1b7..e8fca6f04ba 100644 --- a/compiler/rustc_ast_lowering/src/item.rs +++ b/compiler/rustc_ast_lowering/src/item.rs @@ -1366,7 +1366,7 @@ impl<'hir> LoweringContext<'_, 'hir> { generics: &Generics, itctx: ImplTraitContext<'_, 'hir>, ) -> GenericsCtor<'hir> { - // Error if `?Trait` bounds in where clauses don't refer directly to type paramters. + // Error if `?Trait` bounds in where clauses don't refer directly to type parameters. // Note: we used to clone these bounds directly onto the type parameter (and avoid lowering // these into hir when we lower thee where clauses), but this makes it quite difficult to // keep track of the Span info. Now, `add_implicitly_sized` in `AstConv` checks both param bounds and |
