Add to Derive Reference an example of what a derive exapnds to #3520
Labels
A-docs
Area: documentation, including docs.rs, readme, examples, etc...
C-enhancement
Category: Raise on the bar on expectations
E-easy
Call for participation: Experience needed to fix: Easy / not much
Please complete the following tasks
Clap Version
3.1.0
Describe your use case
In the derive reference, we try to explain the principles for how the derive works so people can use any part of the builder documentation as part of the derive but we still frequently get questions on how to use a feature.
Describe the solution you'd like
A more concrete example of the principles will hopefully help.
We shouldn't just run
cargo expand
but show it as idiomatic.We should include
Alternatives, if applicable
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: