@@ -543,10 +543,10 @@ impl AllTypes {
543543 ItemType :: TypeAlias => self . type_aliases . insert ( ItemEntry :: new ( new_url, name) ) ,
544544 ItemType :: Static => self . statics . insert ( ItemEntry :: new ( new_url, name) ) ,
545545 ItemType :: Constant => self . constants . insert ( ItemEntry :: new ( new_url, name) ) ,
546- ItemType :: ProcAttribute | ItemType :: BangMacroAttribute => {
546+ ItemType :: ProcAttribute | ItemType :: DeclMacroAttribute => {
547547 self . attribute_macros . insert ( ItemEntry :: new ( new_url, name) )
548548 }
549- ItemType :: ProcDerive | ItemType :: BangMacroDerive => {
549+ ItemType :: ProcDerive | ItemType :: DeclMacroDerive => {
550550 self . derive_macros . insert ( ItemEntry :: new ( new_url, name) )
551551 }
552552 ItemType :: TraitAlias => self . trait_aliases . insert ( ItemEntry :: new ( new_url, name) ) ,
@@ -2605,8 +2605,8 @@ impl ItemSection {
26052605 Self :: AssociatedConstants => "associated-consts" ,
26062606 Self :: ForeignTypes => "foreign-types" ,
26072607 Self :: Keywords => "keywords" ,
2608- Self :: Attributes => "attributes " ,
2609- Self :: AttributeMacros => "attribute-macros " ,
2608+ Self :: Attributes => "attribute-docs " ,
2609+ Self :: AttributeMacros => "attributes " ,
26102610 Self :: DeriveMacros => "derives" ,
26112611 Self :: TraitAliases => "trait-aliases" ,
26122612 }
@@ -2667,8 +2667,8 @@ fn item_ty_to_section(ty: ItemType) -> ItemSection {
26672667 ItemType :: ForeignType => ItemSection :: ForeignTypes ,
26682668 ItemType :: Keyword => ItemSection :: Keywords ,
26692669 ItemType :: Attribute => ItemSection :: Attributes ,
2670- ItemType :: ProcAttribute | ItemType :: BangMacroAttribute => ItemSection :: AttributeMacros ,
2671- ItemType :: ProcDerive | ItemType :: BangMacroDerive => ItemSection :: DeriveMacros ,
2670+ ItemType :: ProcAttribute | ItemType :: DeclMacroAttribute => ItemSection :: AttributeMacros ,
2671+ ItemType :: ProcDerive | ItemType :: DeclMacroDerive => ItemSection :: DeriveMacros ,
26722672 ItemType :: TraitAlias => ItemSection :: TraitAliases ,
26732673 }
26742674}
0 commit comments