Auto merge of #116443 - workingjubilee:rollup-r9mh13f, r=workingjubilee · rust-lang/rust@e293927

@@ -164,7 +164,7 @@ struct UniversalRegionIndices<'tcx> {

164164

/// be able to map them to our internal `RegionVid`. This is

165165

/// basically equivalent to an `GenericArgs`, except that it also

166166

/// contains an entry for `ReStatic` -- it might be nice to just

167-

/// use a args, and then handle `ReStatic` another way.

167+

/// use an args, and then handle `ReStatic` another way.

168168

indices: FxHashMap<ty::Region<'tcx>, RegionVid>,

169169170170

/// The vid assigned to `'static`. Used only for diagnostics.

@@ -290,7 +290,7 @@ impl<'tcx> UniversalRegions<'tcx> {

290290

(FIRST_GLOBAL_INDEX..self.num_universals).map(RegionVid::from_usize)

291291

}

292292293-

/// Returns `true` if `r` is classified as an local region.

293+

/// Returns `true` if `r` is classified as a local region.

294294

pub fn is_local_free_region(&self, r: RegionVid) -> bool {

295295

self.region_classification(r) == Some(RegionClassification::Local)

296296

}