diff options
| author | Corey Farwell <coreyf@rwell.org> | 2016-09-25 13:57:12 -0400 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2016-09-25 13:57:12 -0400 |
| commit | a147a9d01b1b609e60fde8f3f8acc7f16f9dd380 (patch) | |
| tree | be808c5facf4194d32796f403042bcb16e41461b | |
| parent | ae3ed31155151b63b7176539da7c605e8623f0b5 (diff) | |
| download | rust-a147a9d01b1b609e60fde8f3f8acc7f16f9dd380.tar.gz rust-a147a9d01b1b609e60fde8f3f8acc7f16f9dd380.zip | |
Fix incorrect alignment for `if` statement.
| -rw-r--r-- | src/librustdoc/lib.rs | 3 |
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; } |
