diff --git a/src/procedural-macros.md b/src/procedural-macros.md index e2c825bda..d788b7ad0 100644 --- a/src/procedural-macros.md +++ b/src/procedural-macros.md @@ -195,7 +195,7 @@ struct Struct { *Attribute macros* define new [attributes] which can be attached to [items]. Attribute macros are defined by a [public] [function] with the -`proc_macro_attribute` [attribute] that a signature of `(TokenStream, +`proc_macro_attribute` [attribute] that has a signature of `(TokenStream, TokenStream) -> TokenStream`. The first [`TokenStream`] is the delimited token tree following the attribute's name, not including the outer delimiters. If the attribute is written as a bare attribute name, the attribute