Skip to content

Commit a147a9d

Browse files
committed
Fix incorrect alignment for if statement.
1 parent ae3ed31 commit a147a9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustdoc/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ pub fn main_args(args: &[String]) -> isize {
235235
if matches.free.is_empty() {
236236
println!("expected an input file to act on");
237237
return 1;
238-
} if matches.free.len() > 1 {
238+
}
239+
if matches.free.len() > 1 {
239240
println!("only one input file may be specified");
240241
return 1;
241242
}

0 commit comments

Comments
 (0)