X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_middle%2Fsrc%2Fty%2Fcontext.rs;h=94eddef944a02ed399169a15ca495ce331fc614a;hb=c97922dca563cb7f9385b18dbf7ca8c97f8e1597;hp=afb2d5b2ba5e5a00eee16751240184c83da06320;hpb=413703201c59f25a5a2fded13d7ee4b4be4e8545;p=rust.git diff --git a/compiler/rustc_middle/src/ty/context.rs b/compiler/rustc_middle/src/ty/context.rs index afb2d5b2ba5..94eddef944a 100644 --- a/compiler/rustc_middle/src/ty/context.rs +++ b/compiler/rustc_middle/src/ty/context.rs @@ -1590,7 +1590,7 @@ pub fn local_crate_exports_generics(self) -> bool { }) } - // 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 { let (suitable_region_binding_scope, bound_region) = match *region { ty::ReFree(ref free_region) => {