Skip to content

Commit

Permalink
Update compiler/rustc_middle/src/ty/sty.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Oli Scherer <[email protected]>
  • Loading branch information
lcnr and oli-obk authored Feb 8, 2022
1 parent 4c79353 commit af77bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/sty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>),

Expand Down

0 comments on commit af77bdf

Please sign in to comment.