about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-09-25 13:57:12 -0400
committerCorey Farwell <coreyf@rwell.org>2016-09-25 13:57:12 -0400
commita147a9d01b1b609e60fde8f3f8acc7f16f9dd380 (patch)
treebe808c5facf4194d32796f403042bcb16e41461b
parentae3ed31155151b63b7176539da7c605e8623f0b5 (diff)
downloadrust-a147a9d01b1b609e60fde8f3f8acc7f16f9dd380.tar.gz
rust-a147a9d01b1b609e60fde8f3f8acc7f16f9dd380.zip
Fix incorrect alignment for `if` statement.
-rw-r--r--src/librustdoc/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index c8e09629f92..ee7f26742ce 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -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;
     }