diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-05-21 23:26:11 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-05-22 01:26:43 +0200 |
commit | e55f358ea5ae1ea3df3cb66fd9ae3e3597abfc73 (patch) | |
tree | fc29ee6ee9a03dd9c40ea6e414397f70346d9225 /src | |
parent | b035b1392469a91556715071cc9751dc23a53994 (diff) | |
download | nitrokey-rs-e55f358ea5ae1ea3df3cb66fd9ae3e3597abfc73.tar.gz nitrokey-rs-e55f358ea5ae1ea3df3cb66fd9ae3e3597abfc73.tar.bz2 |
Fix example for change_user_pin and change_admin_pin
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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> { |