rustdoc: use a single box to store Attributes and ItemKind

This commit is contained in:
Michael Howell
2024-08-30 10:52:45 -07:00
parent e80c9ac3e2
commit 65903362ad
28 changed files with 195 additions and 179 deletions

View File

@@ -195,7 +195,7 @@ impl<'a, 'b> DocVisitor for CoverageCalculator<'a, 'b> {
return;
}
match *i.kind {
match i.kind {
clean::StrippedItem(..) => {
// don't count items in stripped modules
return;