aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-05-21 23:26:11 +0000
committerRobin Krahl <robin.krahl@ireas.org>2018-05-22 01:26:43 +0200
commite55f358ea5ae1ea3df3cb66fd9ae3e3597abfc73 (patch)
treefc29ee6ee9a03dd9c40ea6e414397f70346d9225
parentb035b1392469a91556715071cc9751dc23a53994 (diff)
downloadnitrokey-rs-e55f358ea5ae1ea3df3cb66fd9ae3e3597abfc73.tar.gz
nitrokey-rs-e55f358ea5ae1ea3df3cb66fd9ae3e3597abfc73.tar.bz2
Fix example for change_user_pin and change_admin_pin
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1548950..53b0c6c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -623,7 +623,7 @@ pub trait Device {
/// # Example
///
/// ```no_run
- /// use nitrokey::Device;
+ /// use nitrokey::{CommandStatus, Device};
/// # use nitrokey::CommandError;
///
/// # fn try_main() -> Result<(), CommandError> {
@@ -659,7 +659,7 @@ pub trait Device {
/// # Example
///
/// ```no_run
- /// use nitrokey::Device;
+ /// use nitrokey::{CommandStatus, Device};
/// # use nitrokey::CommandError;
///
/// # fn try_main() -> Result<(), CommandError> {