-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Allow doc-strings on item macros #3163
Copy link
Copy link
Closed
Labels
A-syntaxextArea: Syntax extensionsArea: Syntax extensionsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-syntaxextArea: Syntax extensionsArea: Syntax extensionsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Some of our libraries are starting to export protocols. It'd be nice to be able to add documentation to these that gets included in the Rustdocs.
I don't know if it's better to document it as a macro invocation, or as documentation on whatever the macro expands to. For protocols, both makes sense, although documenting the unexpanded version is probably more useful to the user.