aboutsummaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/error.rs b/src/error.rs
index 1b36975..5c8c52e 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -4,7 +4,6 @@
use std::error;
use std::fmt;
use std::os::raw;
-use std::result;
use std::str;
use crate::device;
@@ -100,9 +99,6 @@ impl fmt::Display for Error {
}
}
-/// A result returned by the nitrokey crate.
-pub type Result<T> = result::Result<T, Error>;
-
/// An error reported by the Nitrokey device in the response packet.
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CommandError {