fix: apply clippy suggestions (#120)

* fix: apply clippy suggestions

* fmt

* clippy for linux targets
This commit is contained in:
Fabian-Lars
2023-02-01 11:27:33 +01:00
committed by GitHub
parent 2e515abba7
commit 4bb200aac5
8 changed files with 213 additions and 171 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ pub fn make_challenge(app_id: &str, challenge_bytes: Vec<u8>) -> Challenge {
let utc: DateTime<Utc> = Utc::now();
Challenge {
challenge: encode_config(challenge_bytes, URL_SAFE_NO_PAD),
timestamp: format!("{:?}", utc),
timestamp: format!("{utc:?}"),
app_id: app_id.to_string(),
}
}