Fix fallout in rustdoc
This commit is contained in:
parent
1e5942469d
commit
3bf9fc0c2a
5 changed files with 25 additions and 20 deletions
|
@ -1408,7 +1408,8 @@ impl Context {
|
|||
match it.inner {
|
||||
clean::StrippedItem(..) => true,
|
||||
clean::ModuleItem(ref m) => {
|
||||
it.doc_value().is_none() && m.items.is_empty() && it.visibility != Some(hir::Public)
|
||||
it.doc_value().is_none() && m.items.is_empty()
|
||||
&& it.visibility != Some(clean::Public)
|
||||
},
|
||||
_ => false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue