diff options
| -rw-r--r-- | src/device.rs | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/src/device.rs b/src/device.rs index 6597ba9..51551c2 100644 --- a/src/device.rs +++ b/src/device.rs @@ -399,10 +399,7 @@ pub trait Device: Authenticate + GetPasswordSafe + GenerateOtp + fmt::Debug {      fn get_firmware_version(&self) -> Result<FirmwareVersion, Error> {          let major = result_or_error(unsafe { nitrokey_sys::NK_get_major_firmware_version() })?;          let minor = result_or_error(unsafe { nitrokey_sys::NK_get_minor_firmware_version() })?; -        Ok(FirmwareVersion { -            major, -            minor, -        }) +        Ok(FirmwareVersion { major, minor })      }      /// Returns the current configuration of the Nitrokey device. | 
