make gen_keypair_file take &str (#4232)

automerge
This commit is contained in:
Rob Walker
2019-05-08 23:00:48 -07:00
committed by Grimes
parent da4c37beec
commit f7680752e7
3 changed files with 5 additions and 5 deletions

View File

@ -81,7 +81,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
path.to_str().unwrap()
};
let serialized_keypair = gen_keypair_file(outfile.to_string())?;
let serialized_keypair = gen_keypair_file(outfile)?;
if outfile == "-" {
println!("{}", serialized_keypair);
}