Rollup merge of #97453 - lcnr:comment, r=jackh726

rename `TyKind` to `RegionKind` in comment in rustc_middle
This commit is contained in:
Matthias Krüger 2022-05-28 01:11:48 +02:00 committed by GitHub
commit e96397b63f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1469,7 +1469,7 @@ impl ParamConst {
}
}
/// Use this rather than `TyKind`, whenever possible.
/// Use this rather than `RegionKind`, whenever possible.
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, HashStable)]
#[rustc_pass_by_value]
pub struct Region<'tcx>(pub Interned<'tcx, RegionKind>);