Skip to content

Commit 184a5f5

Browse files
committed
Update comment.
1 parent 592978d commit 184a5f5

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_privacy/src

1 file changed

+1
-1
lines changed

compiler/rustc_privacy/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ impl<'tcx> EmbargoVisitor<'tcx> {
645645
match self.tcx.def_kind(owner_id) {
646646
// The interface is empty, and no nested items.
647647
DefKind::Use | DefKind::ExternCrate | DefKind::GlobalAsm => {}
648-
// The interface is empty, and all nested items are processed by `visit_item`.
648+
// The interface is empty, and all nested items are processed by `check_def_id`.
649649
DefKind::Mod => {}
650650
DefKind::Macro { .. } => {
651651
if let Some(item_ev) = item_ev {

0 commit comments

Comments
 (0)