aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/src/pinentry.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2018-12-11 20:28:59 -0800
committerDaniel Mueller <deso@posteo.net>2018-12-11 20:28:59 -0800
commit5d1d8193d94d616785e6d709a7117012a0935b8b (patch)
treed9eb2bedf8f03d90472423f03a1633bcf721a656 /nitrocli/src/pinentry.rs
parentf96905aeaf603840f83f2ce34f20399cb85289fa (diff)
downloadnitrocli-5d1d8193d94d616785e6d709a7117012a0935b8b.tar.gz
nitrocli-5d1d8193d94d616785e6d709a7117012a0935b8b.tar.bz2
Enable more lints
Given that development is picking up speed again we should accept all the help we get from the compiler to catch issues as early as possible. To that end, this change enables more lints for the program. As "usual", lints that are suspected to potentially change in future versions of Rust are reported as warnings and not errors.
Diffstat (limited to 'nitrocli/src/pinentry.rs')
-rw-r--r--nitrocli/src/pinentry.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nitrocli/src/pinentry.rs b/nitrocli/src/pinentry.rs
index b4695ec..1f1b02a 100644
--- a/nitrocli/src/pinentry.rs
+++ b/nitrocli/src/pinentry.rs
@@ -29,6 +29,7 @@ use crate::error::Error;
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum PinType {
/// The admin PIN.
+ #[allow(unused)]
Admin,
/// The user PIN.
User,