diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-07 13:07:15 +0000 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-01-08 09:20:50 -0800 |
commit | aa1f893dbe2f48c7a643c15db35802440664f60b (patch) | |
tree | a94545cd12597bd3d10b8f97eaac03ddd3555821 /textwrap/LICENSE | |
parent | 0aad1c4fe42e4c550a4a6225743d184b85618518 (diff) | |
download | nitrocli-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 'textwrap/LICENSE')
0 files changed, 0 insertions, 0 deletions