diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/book/error-handling.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/book/error-handling.md b/src/doc/book/error-handling.md index be60ea8f81f..17eb9185266 100644 --- a/src/doc/book/error-handling.md +++ b/src/doc/book/error-handling.md @@ -1573,11 +1573,11 @@ fn main() { let matches = match opts.parse(&args[1..]) { Ok(m) => { m } - Err(e) => { panic!(e.to_string()) } + Err(e) => { panic!(e.to_string()) } }; if matches.opt_present("h") { print_usage(&program, opts); - return; + return; } let data_path = args[1].clone(); let city = args[2].clone(); |
