fix comment

This commit is contained in:
lcnr 2022-05-27 16:36:59 +02:00
parent 9a42c6509d
commit 4781246a2c

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>);