diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index eaec31a45f421..43e5ba8d49341 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -59,7 +59,7 @@ //! ]; //! let matches = match getopts(args.tail(), opts) { //! Ok(m) => { m } -//! Err(f) => { fail!(f.to_string()) } +//! Err(f) => { fail!(f) } //! }; //! if matches.opt_present("h") { //! print_usage(program.as_slice(), opts);