Skip to content

Commit 3dde8e0

Browse files
committed
auto merge of #8480 : cmr/rust/tutorial, r=metajack
2 parents 9b92500 + 93fab48 commit 3dde8e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ control reaches the end of the block:
436436
fn signum(x: int) -> int {
437437
if x < 0 { -1 }
438438
else if x > 0 { 1 }
439-
else { return 0 }
439+
else { 0 }
440440
}
441441
~~~~
442442

0 commit comments

Comments
 (0)