Skip to content

Commit 8e64f97

Browse files
authored
Merge pull request #107 from n1000/documentation_warning_fix
2 parents c11eb65 + ba5d54a commit 8e64f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
//! opts.optflag("h", "help", "print this help menu");
7878
//! let matches = match opts.parse(&args[1..]) {
7979
//! Ok(m) => { m }
80-
//! Err(f) => { panic!(f.to_string()) }
80+
//! Err(f) => { panic!("{}", f.to_string()) }
8181
//! };
8282
//! if matches.opt_present("h") {
8383
//! print_usage(&program, opts);

0 commit comments

Comments
 (0)