diff options
| author | Corey Richardson <corey@octayn.net> | 2013-08-12 20:52:37 -0400 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2013-08-12 20:52:37 -0400 |
| commit | 93fab48b524cf73dca56ec51d408c88cf41c998c (patch) | |
| tree | daaa9186ad44b149b7296ff49e94703e70064b05 | |
| parent | ecfc9a82231eef47bf522e6d18138a0f3414d914 (diff) | |
| download | rust-93fab48b524cf73dca56ec51d408c88cf41c998c.tar.gz rust-93fab48b524cf73dca56ec51d408c88cf41c998c.zip | |
Remove unnecessary return
| -rw-r--r-- | doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } ~~~~ |
