diff --git a/src/lib.rs b/src/lib.rs index 378c90b3..ba28fa2c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -77,7 +77,7 @@ //! opts.optflag("h", "help", "print this help menu"); //! let matches = match opts.parse(&args[1..]) { //! Ok(m) => { m } -//! Err(f) => { panic!(f.to_string()) } +//! Err(f) => { panic!("{}", f.to_string()) } //! }; //! if matches.opt_present("h") { //! print_usage(&program, opts);