Replace most invocations of fail keyword with die! macro
This commit is contained in:
parent
2db3175c76
commit
aee7929469
331 changed files with 914 additions and 908 deletions
|
|
@ -21,8 +21,8 @@ fn main() {
|
|||
let cheese = copy cheese;
|
||||
let f = fn@() {
|
||||
let chew = mush + cheese;
|
||||
fail ~"so yummy"
|
||||
die!(~"so yummy")
|
||||
};
|
||||
f();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue