Replace most invocations of fail keyword with die! macro
This commit is contained in:
parent
adb9d0e8a1
commit
6fb4239bb3
22 changed files with 49 additions and 49 deletions
|
|
@ -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!(); }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue