mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
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 <david.wood@huawei.com>
This commit is contained in:
parent
ff479b1f3c
commit
2991a7c715
@ -1596,7 +1596,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
||||
})
|
||||
}
|
||||
|
||||
// Returns the `DefId` and the `BoundRegionKind` corresponding to the given region.
|
||||
/// Returns the `DefId` and the `BoundRegionKind` corresponding to the given region.
|
||||
pub fn is_suitable_region(self, region: Region<'tcx>) -> Option<FreeRegionInfo> {
|
||||
let (suitable_region_binding_scope, bound_region) = match *region {
|
||||
ty::ReFree(ref free_region) => {
|
||||
|
Loading…
Reference in New Issue
Block a user