aboutsummaryrefslogtreecommitdiff
path: root/nitrokey/src/util.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-07 11:51:11 +0000
committerDaniel Mueller <deso@posteo.net>2020-01-08 09:20:30 -0800
commitb1725639a21a8661c8e8dfe30811b650abf028b0 (patch)
tree8f35d0390648777b83dc0abdde7d17f1b62fae5e /nitrokey/src/util.rs
parent5e20a29b4fdc8a2d442d1093681b396dcb4b816b (diff)
downloadnitrocli-b1725639a21a8661c8e8dfe30811b650abf028b0.tar.gz
nitrocli-b1725639a21a8661c8e8dfe30811b650abf028b0.tar.bz2
Refactor the Enum! macro into Enum! and Command!
For an easier transition to structopt, this patch splits the two cases of the Enum! macro into two separate macros (that internally both call the new enum_int! macro).
Diffstat (limited to 'nitrokey/src/util.rs')
0 files changed, 0 insertions, 0 deletions