diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-01-06 18:31:56 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2016-01-06 18:31:56 -0500 |
| commit | 4c90f5dc9fbffc6dd8633222db9a9372ea460069 (patch) | |
| tree | 0f73c35b61fbe390d7f522a5712015d3306a6e6a /src | |
| parent | 5daa75373d870f255923aed37d99db73a661bd51 (diff) | |
| parent | e5a846e90e3a5a73a33b2a587eb8c0f6534c1787 (diff) | |
| download | rust-4c90f5dc9fbffc6dd8633222db9a9372ea460069.tar.gz rust-4c90f5dc9fbffc6dd8633222db9a9372ea460069.zip | |
Rollup merge of #30683 - LawrenceWoodman:patch-1, r=steveklabnik
I noticed the alignment was off in the error handling part of the book. This was caused because two tabs had crept into the file. I have changed these for spaces.
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(); |
