aboutsummaryrefslogtreecommitdiff
path: root/cfg-if
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-07 12:42:28 +0000
committerDaniel Mueller <deso@posteo.net>2020-01-08 09:20:46 -0800
commit0aad1c4fe42e4c550a4a6225743d184b85618518 (patch)
tree40c7de09d4dd4ba155c4596609ad5199cc769c81 /cfg-if
parent2dcceb1d5889f6eac6262f38506c58066a898f76 (diff)
downloadnitrocli-0aad1c4fe42e4c550a4a6225743d184b85618518.tar.gz
nitrocli-0aad1c4fe42e4c550a4a6225743d184b85618518.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 'cfg-if')
0 files changed, 0 insertions, 0 deletions