Skip to content

Commit

Permalink
Improve closure with single method
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsIrl committed Sep 6, 2020
1 parent a677002 commit d444437
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 @@ -436,7 +436,7 @@ fn main() {
std::process::exit(2)
}
},
|pubkey| pubkey.to_owned(),
str::to_owned,
);
println!(
"{}",
Expand Down

0 comments on commit d444437

Please sign in to comment.