Skip to content

Commit f6ff377

Browse files
committed
Clarify where is_import is used.
So it's not mistaken for dead code.
1 parent 35681fb commit f6ff377

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/librustc/hir/def.rs

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ pub struct Export {
132132
/// We include non-`pub` exports for hygienic macros that get used from extern crates.
133133
pub vis: ty::Visibility,
134134
/// True if from a `use` or and `extern crate`.
135+
/// Used in rustdoc.
135136
pub is_import: bool,
136137
}
137138

0 commit comments

Comments
 (0)