1
Fork 0

Cleanup return statements.

This commit is contained in:
Corey Farwell 2016-10-01 16:47:43 -04:00
parent 6d0894940f
commit a400cccd54
7 changed files with 16 additions and 17 deletions

View file

@ -288,15 +288,14 @@ pub fn main_args(args: &[String]) -> isize {
passes.into_iter().collect(),
css_file_extension,
renderinfo)
.expect("failed to generate documentation")
.expect("failed to generate documentation");
0
}
Some(s) => {
println!("unknown output format: {}", s);
return 1;
1
}
}
return 0;
}
/// Looks inside the command line arguments to extract the relevant input format