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 was also brought up in #140 and it looks like that PR never made it across the finish line. Looking through other issues to see if there's anything else I want to bundle into a release so it'll probably be a few weeks before it's available on crates.io.
Is there any way to customize the doc comment?
It shows up as "Auto-generated discriminant enum variants" in generated docs for the crate.
It seems like it's hard-coded at https://github.com/Peternator7/strum/blob/master/strum_macros/src/macros/enum_discriminants.rs#L184
I tried using
#[doc = r"something"]
as well as adding/// doc comments
to the enum, but they don't get propagated.Is there any way to add an attribute on
#[strum_disciminants]
to override the generated doc comment, or something similar?Thanks.
The text was updated successfully, but these errors were encountered: