Fix Clippy warning for unused format! in 1.81 (#343)

This commit is contained in:
Nemo157 2024-08-30 18:10:15 +02:00 committed by GitHub
parent a32915b7e9
commit f4492c9f77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -847,7 +847,7 @@ async fn check_import_keys(
let encrypted = match encrypt_room_key_export(&keys, &passphrase, 500000) {
Ok(encrypted) => encrypted,
Err(e) => {
format!("* Failed to encrypt room keys during export: {e}");
println!("* Failed to encrypt room keys during export: {e}");
process::exit(2);
},
};