Allow doc comments on all Items

This commit is contained in:
Jonas Schievink 2022-01-08 15:01:26 +01:00
parent ca8bd3ec42
commit 67f548d8e9
2 changed files with 12 additions and 5 deletions

View file

@ -793,9 +793,11 @@ fn extract_struct_traits(ast: &mut AstSrc) {
"Const",
"TypeAlias",
"Impl",
"ExternBlock",
"ExternCrate",
"MacroCall",
"MacroRules",
"MacroDef",
"Macro",
"Use",
];