Remove doc(include)
This commit is contained in:
parent
c4c2ab57a4
commit
15fec1fb80
28 changed files with 79 additions and 449 deletions
|
@ -489,7 +489,7 @@ fn has_doc(sess: &Session, attr: &ast::Attribute) -> bool {
|
|||
|
||||
if let Some(list) = attr.meta_item_list() {
|
||||
for meta in list {
|
||||
if meta.has_name(sym::include) || meta.has_name(sym::hidden) {
|
||||
if meta.has_name(sym::hidden) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue