diff options
-rw-r--r-- | nitrocli/src/args.rs | 2 | ||||
-rw-r--r-- | nitrocli/src/pinentry.rs | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/nitrocli/src/args.rs b/nitrocli/src/args.rs index 7f0bfca..7e4f839 100644 --- a/nitrocli/src/args.rs +++ b/nitrocli/src/args.rs @@ -101,6 +101,7 @@ impl<'io> Stdio for ExecCtx<'io> { } /// The available Nitrokey models. +#[allow(unused_doc_comments)] Enum! {DeviceModel, [ Pro => "pro", Storage => "storage" @@ -116,6 +117,7 @@ impl From<DeviceModel> for nitrokey::Model { } /// A top-level command for nitrocli. +#[allow(unused_doc_comments)] Enum! {Command, [ Config => ("config", config), Lock => ("lock", lock), diff --git a/nitrocli/src/pinentry.rs b/nitrocli/src/pinentry.rs index 8370328..8bab65e 100644 --- a/nitrocli/src/pinentry.rs +++ b/nitrocli/src/pinentry.rs @@ -30,6 +30,7 @@ type CowStr = borrow::Cow<'static, str>; /// /// The available PIN types correspond to the PIN types used by the Nitrokey devices: user and /// admin. +#[allow(unused_doc_comments)] Enum! {PinType, [ Admin => "admin", User => "user" |