Replace most invocations of fail keyword with die! macro

This commit is contained in:
Nick Desaulniers 2013-01-31 17:51:01 -08:00
parent adb9d0e8a1
commit 6fb4239bb3
22 changed files with 49 additions and 49 deletions

View file

@ -68,7 +68,7 @@ fn parse_opts(argv: ~[~str]) -> Config {
Ok(ref m) => {
return Config {stress: getopts::opt_present(m, ~"stress")}
}
Err(_) => { fail; }
Err(_) => { die!(); }
}
}