Skip to content

Commit 791c371

Browse files
longfangsongJoshua Nelson
andauthored
Update src/librustdoc/doctree.rs
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent 17b908e commit 791c371

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/librustdoc/doctree.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ use rustc_hir as hir;
66

77
/// A wrapper around a [`hir::Item`].
88
#[derive(Debug)]
9-
pub(crate) struct Item<'hir> {
9+
crate struct Item<'hir> {
1010
/// the wrapped item
11-
pub(crate) hir_item: &'hir hir::Item<'hir>,
11+
crate hir_item: &'hir hir::Item<'hir>,
1212
/// the explicit renamed name
13-
pub(crate) renamed_name: Option<Symbol>,
13+
crate renamed_name: Option<Symbol>,
1414
/// whether the item is from a glob import
1515
/// if `from_glob` is true and we see another item with same name,
1616
/// then this item can be replaced with that one
17-
pub(crate) from_glob: bool,
17+
crate from_glob: bool,
1818
}
1919

2020
impl<'hir> Item<'hir> {

0 commit comments

Comments
 (0)