From af77bdf4391572f63a86556cda8b116ab9baeacd Mon Sep 17 00:00:00 2001 From: lcnr Date: Tue, 8 Feb 2022 18:10:28 +0100 Subject: [PATCH] Update compiler/rustc_middle/src/ty/sty.rs Co-authored-by: Oli Scherer --- compiler/rustc_middle/src/ty/sty.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_middle/src/ty/sty.rs b/compiler/rustc_middle/src/ty/sty.rs index 028f9db368f3a..61216fc5de48b 100644 --- a/compiler/rustc_middle/src/ty/sty.rs +++ b/compiler/rustc_middle/src/ty/sty.rs @@ -209,7 +209,7 @@ pub enum TyKind<'tcx> { /// * the `impl Trait` ast::Ty node, /// * or the `type Foo = impl Trait` declaration /// - /// For RTIT the substitutions are for the generics of the function, + /// For RPIT the substitutions are for the generics of the function, /// while for TAIT it is used for the generic parameters of the alias. Opaque(DefId, SubstsRef<'tcx>),