Skip to content

Commit d0da6ca

Browse files
committed
Update doc-comment.
1 parent e0a89c4 commit d0da6ca

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

compiler/rustc_passes/src/dead.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ use crate::errors::{
2727
ChangeFields, IgnoredDerivedImpls, MultipleDeadCodes, ParentInfo, UselessAssignment,
2828
};
2929

30-
// Any local node that may call something in its body block should be
31-
// explored. For example, if it's a live Node::Item that is a
32-
// function, then we should explore its block to check for codes that
33-
// may need to be marked as live.
30+
/// Any local definition that may call something in its body block should be explored. For example,
31+
/// if it's a live function, then we should explore its block to check for codes that may need to
32+
/// be marked as live.
3433
fn should_explore(tcx: TyCtxt<'_>, def_id: LocalDefId) -> bool {
3534
match tcx.def_kind(def_id) {
3635
DefKind::Mod

0 commit comments

Comments
 (0)