Update compiler/rustc_middle/src/ty/sty.rs

Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
This commit is contained in:
lcnr 2022-02-08 18:10:28 +01:00 committed by GitHub
parent 4c793538d4
commit af77bdf439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>),