1
Fork 0

Remove unnecessary return

This commit is contained in:
Corey Richardson 2013-08-12 20:52:37 -04:00
parent ecfc9a8223
commit 93fab48b52

View file

@ -436,7 +436,7 @@ control reaches the end of the block:
fn signum(x: int) -> int {
if x < 0 { -1 }
else if x > 0 { 1 }
else { return 0 }
else { 0 }
}
~~~~