Skip to content

Commit e30e139

Browse files
committed
Merge pull request #82 from DaGenix/fixups
Fix deprecation warning from using .to_err_msg()
2 parents d23c2a5 + d8074f1 commit e30e139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-crypto-util/tool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ fn main() {
8585

8686
let matches = match getopts(args.tail(), opts.as_slice()) {
8787
Ok(m) => { m }
88-
Err(f) => { fail!(f.to_err_msg()) }
88+
Err(f) => { fail!(f.to_str()) }
8989
};
9090

9191
if matches.opt_present("h") || matches.opt_present("help") {

0 commit comments

Comments
 (0)