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.
2 parents 0651d27 + 2344c6c commit 4e9e259Copy full SHA for 4e9e259
src/librustdoc/passes.rs
@@ -128,18 +128,12 @@ impl<'a> fold::DocFolder for Stripper<'a> {
128
}
129
130
131
- clean::ViewItemItem(..) => {
+ clean::ViewItemItem(..) | clean::StructFieldItem(..) => {
132
if i.visibility != Some(ast::Public) {
133
return None
134
135
136
137
- clean::StructFieldItem(..) => {
138
- if i.visibility == Some(ast::Private) {
139
- return None;
140
- }
141
142
-
143
// handled below
144
clean::ModuleItem(..) => {}
145
0 commit comments