Skip to content

Commit bc0d545

Browse files
committed
Rollup merge of #22373 - bombless:fix-rustbook, r=steveklabnik
2 parents 6847244 + 6514c3a commit bc0d545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustbook/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn main() {
5050
let mut term = Term::new();
5151
let cmd = os::args();
5252

53-
if cmd.len() < 1 {
53+
if cmd.len() <= 1 {
5454
help::usage()
5555
} else {
5656
match subcommand::parse_name(&cmd[1][]) {

0 commit comments

Comments
 (0)