aboutsummaryrefslogtreecommitdiff
path: root/syn-mid/examples/const_fn/Cargo.toml
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-07 13:07:15 +0000
committerDaniel Mueller <deso@posteo.net>2020-01-08 09:20:50 -0800
commitaa1f893dbe2f48c7a643c15db35802440664f60b (patch)
treea94545cd12597bd3d10b8f97eaac03ddd3555821 /syn-mid/examples/const_fn/Cargo.toml
parent0aad1c4fe42e4c550a4a6225743d184b85618518 (diff)
downloadnitrocli-aa1f893dbe2f48c7a643c15db35802440664f60b.tar.gz
nitrocli-aa1f893dbe2f48c7a643c15db35802440664f60b.tar.bz2
Implement Default in the Enum! and Command! macros
For the transition to structopt, we have to be able to easily construct enum variants once we have added fields to them. Therefore we implement the Default trait in the generated macros by choosing the first variant as the default.
Diffstat (limited to 'syn-mid/examples/const_fn/Cargo.toml')
0 files changed, 0 insertions, 0 deletions