Skip to content

Commit 2991a7c

Browse files
committed
middle: comment -> doc comment
Drive-by change of a regular comment to a documentation comment on `TyCtxt::is_suitable_region`. Signed-off-by: David Wood <[email protected]>
1 parent ff479b1 commit 2991a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ impl<'tcx> TyCtxt<'tcx> {
15961596
})
15971597
}
15981598

1599-
// Returns the `DefId` and the `BoundRegionKind` corresponding to the given region.
1599+
/// Returns the `DefId` and the `BoundRegionKind` corresponding to the given region.
16001600
pub fn is_suitable_region(self, region: Region<'tcx>) -> Option<FreeRegionInfo> {
16011601
let (suitable_region_binding_scope, bound_region) = match *region {
16021602
ty::ReFree(ref free_region) => {

0 commit comments

Comments
 (0)