]> git.lizzy.rs Git - rust.git/commitdiff
fixed inconsistent indentation in book example
authorAlex Gaynor <alex.gaynor@gmail.com>
Tue, 24 Nov 2015 06:24:27 +0000 (01:24 -0500)
committerAlex Gaynor <alex.gaynor@gmail.com>
Tue, 24 Nov 2015 06:24:27 +0000 (01:24 -0500)
looks like a case of mixed tabs and spaces

src/doc/book/error-handling.md

index 600019bcceb0acff928d1267408554b82d9ff5f8..e37360a457b7b6bd5a1937fc42c5815a5a7d499d 100644 (file)
@@ -1643,7 +1643,7 @@ 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") {