Skip to content

Commit af77bdf

Browse files
lcnroli-obk
andauthored
Update compiler/rustc_middle/src/ty/sty.rs
Co-authored-by: Oli Scherer <[email protected]>
1 parent 4c79353 commit af77bdf

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/sty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ pub enum TyKind<'tcx> {
209209
/// * the `impl Trait` ast::Ty node,
210210
/// * or the `type Foo = impl Trait` declaration
211211
///
212-
/// For RTIT the substitutions are for the generics of the function,
212+
/// For RPIT the substitutions are for the generics of the function,
213213
/// while for TAIT it is used for the generic parameters of the alias.
214214
Opaque(DefId, SubstsRef<'tcx>),
215215

0 commit comments

Comments
 (0)