Skip to content
New issue

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

docs(derive): Clarify rename_all takes a string literal #3908

Merged
merged 2 commits into from Jul 12, 2022

Conversation

jturner314-nrl
Copy link
Contributor

This makes it more clear that quotes are needed. When deriving ValueEnum (and possibly in other cases as well), the attribute is silently ignored if the user leaves off these quotes: see #3907.

When deriving `ValueEnum` (and possibly in other cases as well), the
attribute is silently ignored if the user leaves off these quotes.
@epage
Copy link
Member

epage commented Jul 11, 2022

Thanks for improving the documentation!

@epage epage changed the title Add "" around string literals in derive ref docs docs(derive): Clarify rename_all takes a string literal Jul 11, 2022
@epage epage enabled auto-merge July 11, 2022 22:02
@epage epage disabled auto-merge July 11, 2022 22:02
@epage epage merged commit 5c7ad01 into clap-rs:master Jul 12, 2022
@jturner314-nrl jturner314-nrl deleted the derive-ref-quotes branch July 12, 2022 00:12
@jturner314-nrl
Copy link
Contributor Author

You're welcome. Thanks for all your work on the clap crate, and for reviewing/merging this so quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants