Prefer doc comments over //-comments in compiler

This commit is contained in:
Maybe Waffle
2022-11-27 11:15:06 +00:00
parent 0e9eee6811
commit 1d42936b18
83 changed files with 400 additions and 387 deletions

View File

@@ -861,7 +861,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
}
}
// Replaces all ReVars in a type with ty::Region's, using the provided map
/// Replaces all ReVars in a type with ty::Region's, using the provided map
pub struct RegionReplacer<'a, 'tcx> {
vid_to_region: &'a FxHashMap<ty::RegionVid, ty::Region<'tcx>>,
tcx: TyCtxt<'tcx>,