auto merge of #8480 : cmr/rust/tutorial, r=metajack
This commit is contained in:
commit
3dde8e0f29
@ -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 }
|
||||
}
|
||||
~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user