Generate documentation for generated metric registries #5
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
It's pretty trivial to add documentation attributes to items generated by a procedural macro, especially in Metered's macros where the registry structures are built using the
quote!
macro. One would simply annotate the structs and fields with a bunch `#[doc = "The doc comes here"] attributes (the strings have to be constructed dynamically before the quote invocation, to make sure it refers to the right names).The text was updated successfully, but these errors were encountered: