]> git.lizzy.rs Git - rust.git/commitdiff
Fix incorrect alignment for `if` statement.
authorCorey Farwell <coreyf@rwell.org>
Sun, 25 Sep 2016 17:57:12 +0000 (13:57 -0400)
committerCorey Farwell <coreyf@rwell.org>
Sun, 25 Sep 2016 17:57:12 +0000 (13:57 -0400)
src/librustdoc/lib.rs

index c8e09629f92f8c1181fd9e16d41c95087b8fcd1e..ee7f26742ce777658aede675fc58ac2fd2e2243a 100644 (file)
@@ -235,7 +235,8 @@ pub fn main_args(args: &[String]) -> isize {
     if matches.free.is_empty() {
         println!("expected an input file to act on");
         return 1;
-    } if matches.free.len() > 1 {
+    }
+    if matches.free.len() > 1 {
         println!("only one input file may be specified");
         return 1;
     }