1
Fork 0

Fix fallout in rustdoc

This commit is contained in:
Jeffrey Seyfried 2016-04-11 08:15:14 +00:00
parent 1e5942469d
commit 3bf9fc0c2a
5 changed files with 25 additions and 20 deletions

View file

@ -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,
}