Convert alt to match. Stop parsing alt

This commit is contained in:
Brian Anderson
2012-08-06 12:34:08 -07:00
parent d3a9bb1bd4
commit ecaf9e39c9
359 changed files with 2938 additions and 2915 deletions

View File

@@ -107,7 +107,7 @@ fn main(args: ~[~str]) {
return;
}
let config = alt config::parse_config(args) {
let config = match config::parse_config(args) {
result::ok(config) => config,
result::err(err) => {
io::println(fmt!{"error: %s", err});