diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-07 12:42:28 +0000 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-01-07 12:42:28 +0000 |
commit | 971b6c22a7f3d70840ca373bc54fcdae1f86262a (patch) | |
tree | ad54bbf2cde9528be95127f263cb4458ea2a3c6c /src/error.rs | |
parent | 85eb8cb7bc94570550d88526585d55973610b9bd (diff) | |
download | nitrocli-971b6c22a7f3d70840ca373bc54fcdae1f86262a.tar.gz nitrocli-971b6c22a7f3d70840ca373bc54fcdae1f86262a.tar.bz2 |
Allow adding fields to an enum variant in Command!
To be able to use the enums generated by Command! with structopt, we
have to be able to add fields to them. This patch adds a new variant to
the Command! macro that supports fields.
Diffstat (limited to 'src/error.rs')
0 files changed, 0 insertions, 0 deletions