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.
filter_doc_attr
1 parent 758cd8c commit be881f8Copy full SHA for be881f8
src/librustdoc/clean/mod.rs
@@ -2650,6 +2650,8 @@ fn filter_doc_attr_ident(ident: Symbol, is_inline: bool) -> bool {
2650
}
2651
2652
2653
+/// Remove attributes from `normal` that should not be inherited by `use` re-export.
2654
+/// Before calling this function, make sure `normal` is a `#[doc]` attribute.
2655
fn filter_doc_attr(normal: &mut ast::NormalAttr, is_inline: bool) {
2656
match normal.item.args {
2657
ast::AttrArgs::Delimited(ref mut args) => {
0 commit comments