We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IsVariant
My enum:
#[derive(Debug, Clone, PartialEq, IsVariant)] pub enum Value<'a> { Array(Array<'a>), Dictionary(Dictionary<'a>), Boolean(bool), Data(Data<'a>), Date(Date), Float(f64), Integer(Integer), Real(f64), String(&'a str), Uid(Uid), }
cargo expand shows this:
cargo expand
Which is also what appears in the generated (local) documentation:
Not sure if this is an edge case I've hit or just something no one has spotted previously
If you can point me in the approximate direction I can probably write & PR a fix, looks like some quote! tomfoolery
quote!
The text was updated successfully, but these errors were encountered:
Fix variant name interpolation in documentation for IsVariant (#360)
f5a9199
Resolves #357 ## Synopsis Generated documentation is incorrect, see issue ## Solution Ensure `stringify!` happens after `quote!` interpolation
alpha-tango-kilo
Successfully merging a pull request may close this issue.
My enum:
cargo expand
shows this:Which is also what appears in the generated (local) documentation:
Not sure if this is an edge case I've hit or just something no one has spotted previously
If you can point me in the approximate direction I can probably write & PR a fix, looks like some
quote!
tomfooleryThe text was updated successfully, but these errors were encountered: