Skip to content

Commit 4170d73

Browse files
committed
Fix typo
1 parent 065e497 commit 4170d73

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_ast_lowering/src

1 file changed

+1
-1
lines changed

compiler/rustc_ast_lowering/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
13791379
/// fn test<'a, T: Debug>(x: &'a T) -> TestReturn<'static, T, 'a>
13801380
/// ```
13811381
///
1382-
/// Note the subtely around type parameters! The new TAIT, `TestReturn`, inherits all the
1382+
/// Note the subtlety around type parameters! The new TAIT, `TestReturn`, inherits all the
13831383
/// type parameters from the function `test` (this is implemented in the query layer, they aren't
13841384
/// added explicitly in the HIR). But this includes all the lifetimes, and we only want to
13851385
/// capture the lifetimes that are referenced in the bounds. Therefore, we add *extra* lifetime parameters

0 commit comments

Comments
 (0)