From 93fab48b524cf73dca56ec51d408c88cf41c998c Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Mon, 12 Aug 2013 20:52:37 -0400 Subject: [PATCH] Remove unnecessary return --- doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index f4264b0d5afc3..1813356a1f309 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 } } ~~~~