We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b908e commit 791c371Copy full SHA for 791c371
src/librustdoc/doctree.rs
@@ -6,15 +6,15 @@ use rustc_hir as hir;
6
7
/// A wrapper around a [`hir::Item`].
8
#[derive(Debug)]
9
-pub(crate) struct Item<'hir> {
+crate struct Item<'hir> {
10
/// the wrapped item
11
- pub(crate) hir_item: &'hir hir::Item<'hir>,
+ crate hir_item: &'hir hir::Item<'hir>,
12
/// the explicit renamed name
13
- pub(crate) renamed_name: Option<Symbol>,
+ crate renamed_name: Option<Symbol>,
14
/// whether the item is from a glob import
15
/// if `from_glob` is true and we see another item with same name,
16
/// then this item can be replaced with that one
17
- pub(crate) from_glob: bool,
+ crate from_glob: bool,
18
}
19
20
impl<'hir> Item<'hir> {
0 commit comments