diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-08 11:35:19 +0000 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-01-08 09:53:46 -0800 |
commit | 72a31d38d6e719b337d23e3a73a5050bc9221d1c (patch) | |
tree | 0d70f059e25d21d74b764a16a8b432097e7e57b1 /syn/examples/heapsize/heapsize_derive/Cargo.toml | |
parent | 88f3682b5930acf07788a0796b5a9c08004c7fd3 (diff) | |
download | nitrocli-72a31d38d6e719b337d23e3a73a5050bc9221d1c.tar.gz nitrocli-72a31d38d6e719b337d23e3a73a5050bc9221d1c.tar.bz2 |
Handle doc comments and empty variants in the Command! macro
This patch introduces two changes to the Command! macro:
- We allow variants without fields so that we no longer have to define
empty *Args structs just for the Command! macro.
- We allow doc comments so that we can document commands without a
separate *Args struct.
Diffstat (limited to 'syn/examples/heapsize/heapsize_derive/Cargo.toml')
0 files changed, 0 insertions, 0 deletions