aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nitrocli/src/pinentry.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/nitrocli/src/pinentry.rs b/nitrocli/src/pinentry.rs
index 232bff9..d54a182 100644
--- a/nitrocli/src/pinentry.rs
+++ b/nitrocli/src/pinentry.rs
@@ -17,7 +17,6 @@
// * along with this program. If not, see <http://www.gnu.org/licenses/>. *
// *************************************************************************
-use std::fmt;
use std::process;
use std::str;
@@ -35,19 +34,6 @@ pub enum PinType {
User,
}
-impl fmt::Display for PinType {
- fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
- write!(
- f,
- "{}",
- match *self {
- PinType::Admin => "admin",
- PinType::User => "user",
- }
- )
- }
-}
-
impl str::FromStr for PinType {
type Err = ();