We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c79353 commit af77bdfCopy full SHA for af77bdf
compiler/rustc_middle/src/ty/sty.rs
@@ -209,7 +209,7 @@ pub enum TyKind<'tcx> {
209
/// * the `impl Trait` ast::Ty node,
210
/// * or the `type Foo = impl Trait` declaration
211
///
212
- /// For RTIT the substitutions are for the generics of the function,
+ /// For RPIT the substitutions are for the generics of the function,
213
/// while for TAIT it is used for the generic parameters of the alias.
214
Opaque(DefId, SubstsRef<'tcx>),
215
0 commit comments