ran cargo fix

This commit is contained in:
Kai Jan Kriegel
2022-04-26 23:21:43 +02:00
parent ba99f6f131
commit df64d43e03
21 changed files with 43 additions and 44 deletions

View File

@ -12,7 +12,7 @@ use std::convert::TryFrom;
use std::sync::Arc;
use desfire::desfire::desfire::MAX_BYTES_PER_TRANSACTION;
use rsasl::property::AuthId;
use tracing::{error, trace};
use crate::authentication::fabfire::FabFireCardKey;
enum FabFireError {
@ -606,7 +606,7 @@ impl Authentication for FabFire {
}
};
}
Err(e) => {
Err(_e) => {
tracing::error!("Got invalid response: {:?}", apdu_response);
return Err(FabFireError::InvalidCredentials(format!("{}", apdu_response)).into());
}