Update universal_regions.rs

This commit is contained in:
Samuel Moelius 2023-01-22 07:38:02 -05:00 committed by GitHub
parent 940d00f2f6
commit 12a72f0329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ struct UniversalRegionIndices<'tcx> {
/// `ty::Region` to the internal `RegionVid` we are using. This is /// `ty::Region` to the internal `RegionVid` we are using. This is
/// used because trait matching and type-checking will feed us /// used because trait matching and type-checking will feed us
/// region constraints that reference those regions and we need to /// region constraints that reference those regions and we need to
/// be able to map them our internal `RegionVid`. This is /// be able to map them to our internal `RegionVid`. This is
/// basically equivalent to an `InternalSubsts`, except that it also /// basically equivalent to an `InternalSubsts`, except that it also
/// contains an entry for `ReStatic` -- it might be nice to just /// contains an entry for `ReStatic` -- it might be nice to just
/// use a substs, and then handle `ReStatic` another way. /// use a substs, and then handle `ReStatic` another way.