diff --git a/doc/tutorial.md b/doc/tutorial.md index f4264b0d5af..1813356a1f3 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -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 } } ~~~~