Skip to content

Commit

Permalink
clippy: needless_borrows_for_generic_args (#2495)
Browse files Browse the repository at this point in the history
fix needless_borrows_for_generic_args
  • Loading branch information
yihau authored Aug 9, 2024
1 parent 4ac1300 commit aee7e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keygen/src/keygen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ fn do_main(matches: &ArgMatches) -> Result<(), Box<dyn error::Error>> {
.count
.fetch_sub(1, Ordering::Relaxed);
if !no_outfile {
write_keypair_file(&keypair, &format!("{}.json", keypair.pubkey()))
write_keypair_file(&keypair, format!("{}.json", keypair.pubkey()))
.unwrap();
println!(
"Wrote keypair to {}",
Expand Down

0 comments on commit aee7e84

Please sign in to comment.