You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This renames it to follow the attribute template. Although I like the
old title, since it describes what it does, I would prefer to not make
exceptions and stay consistent.
Copy file name to clipboardExpand all lines: src/procedural-macros.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ expressions], [item] positions, including items in [`extern` blocks], inherent
131
131
and trait [implementations], and [trait definitions].
132
132
133
133
r[macro.proc.derive]
134
-
## Derive macros
134
+
## The `proc_macro_derive` attribute
135
135
136
136
r[macro.proc.derive.intro]
137
137
*Derive macros* define new inputs for the [`derive` attribute]. These macros can create new [items] given the token stream of a [struct], [enum], or [union]. They can also define [derive macro helper attributes].
@@ -362,7 +362,7 @@ their equivalent `#[doc = r"str"]` attributes when passed to macros.
0 commit comments