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 3bc899a commit 4be2842Copy full SHA for 4be2842
src/librustdoc/clean/mod.rs
@@ -2363,6 +2363,8 @@ fn filter_doc_attr_ident(ident: Symbol, is_inline: bool) -> bool {
2363
}
2364
2365
2366
+/// Remove attributes from `normal` that should not be inherited by `use` re-export.
2367
+/// Before calling this function, make sure `normal` is a `#[doc]` attribute.
2368
fn filter_doc_attr(normal: &mut ast::NormalAttr, is_inline: bool) {
2369
match normal.item.args {
2370
ast::AttrArgs::Delimited(ref mut args) => {
0 commit comments