Skip to content

Commit

Permalink
Fix Clippy warning for unused format! in 1.81 (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 authored Aug 30, 2024
1 parent a32915b commit f4492c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
};
Expand Down

0 comments on commit f4492c9

Please sign in to comment.