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 9e89ffc commit 7180b5dCopy full SHA for 7180b5d
src/librustdoc/passes.rs
@@ -128,7 +128,8 @@ impl<'a> fold::DocFolder for Stripper<'a> {
128
}
129
130
131
- clean::ViewItemItem(..) => {
+ clean::ViewItemItem(..) |
132
+ clean::ModuleItem(..) => {
133
if i.visibility != Some(ast::Public) {
134
return None
135
@@ -140,9 +141,6 @@ impl<'a> fold::DocFolder for Stripper<'a> {
140
141
142
143
- // handled below
144
- clean::ModuleItem(..) => {}
145
-
146
// trait impls for private items should be stripped
147
clean::ImplItem(clean::Impl{ for_: clean::ResolvedPath{ id: ref for_id, .. }, .. }) => {
148
if !self.exported_items.contains(for_id) {
0 commit comments