File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_middle/src/ty Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -607,9 +607,9 @@ impl<'tcx> TyCtxt<'tcx> {
607607 /// have the same `DefKind`.
608608 ///
609609 /// Note that closures have a `DefId`, but the closure *expression* also has a
610- // `HirId` that is located within the context where the closure appears (and, sadly,
611- // a corresponding `NodeId`, since those are not yet phased out). The parent of
612- // the closure's `DefId` will also be the context where it appears.
610+ /// `HirId` that is located within the context where the closure appears (and, sadly,
611+ /// a corresponding `NodeId`, since those are not yet phased out). The parent of
612+ /// the closure's `DefId` will also be the context where it appears.
613613 pub fn is_closure_like ( self , def_id : DefId ) -> bool {
614614 matches ! ( self . def_kind( def_id) , DefKind :: Closure )
615615 }
You can’t perform that action at this time.
0 commit comments