From 62105029fbafbee09bfe880003693fb5aa826c04 Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 7 Aug 2024 00:09:10 +0800 Subject: [PATCH] fix needless_borrows_for_generic_args --- keygen/src/keygen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keygen/src/keygen.rs b/keygen/src/keygen.rs index 0965b4ce8ad04b..faf3a493ff7a7b 100644 --- a/keygen/src/keygen.rs +++ b/keygen/src/keygen.rs @@ -703,7 +703,7 @@ fn do_main(matches: &ArgMatches) -> Result<(), Box> { .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 {}",