From e55f358ea5ae1ea3df3cb66fd9ae3e3597abfc73 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 21 May 2018 23:26:11 +0000 Subject: Fix example for change_user_pin and change_admin_pin --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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> { -- cgit v1.2.3