chore: make clippy happy

This commit is contained in:
2022-04-10 22:31:35 +08:00
parent be2e014638
commit 3cf62cb687
6 changed files with 14 additions and 14 deletions

View File

@@ -72,7 +72,7 @@ impl U2fRegistrationData {
"Parse registration data failed: {}");
Ok(Self {
app_id: app_id.to_string(),
device_info: U2FDeviceInfo::from(&register_result),
device_info: U2FDeviceInfo::from(register_result),
device_name: registration.device_name,
client_data: client_data.into(),
registration_data: base64::encode(&register_result.0),