diff options
Diffstat (limited to 'src/pws.rs')
-rw-r--r-- | src/pws.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,7 +51,7 @@ pub const SLOT_COUNT: u8 = 16; /// [`lock`]: trait.Device.html#method.lock /// [`GetPasswordSafe`]: trait.GetPasswordSafe.html pub struct PasswordSafe<'a> { - _device: &'a Device, + _device: &'a dyn Device, } /// Provides access to a [`PasswordSafe`][]. @@ -102,7 +102,7 @@ pub trait GetPasswordSafe { } fn get_password_safe<'a>( - device: &'a Device, + device: &'a dyn Device, user_pin: &str, ) -> Result<PasswordSafe<'a>, CommandError> { let user_pin_string = get_cstring(user_pin)?; |