Change all uses of 'when' in alt-patterns to 'if'

Issue #1396
This commit is contained in:
Austin Seipp 2012-01-09 19:15:17 -06:00 committed by Brian Anderson
parent aeae04cb49
commit a94b1ccacb
10 changed files with 17 additions and 17 deletions

View file

@ -31,7 +31,7 @@ fn ret_ret() -> int { ret (ret 2) + 3; }
fn ret_guard() {
alt 2 {
x when (ret) { x; }
x if (ret) { x; }
}
}