about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-08-14 18:29:09 -0700
committerbors <bors@rust-lang.org>2013-08-14 18:29:09 -0700
commit3dde8e0f29a11b4ec77c62a654f35aeb759db3cd (patch)
treebaabddbc8151a25487a2a038dcdfb32ab4ac1b42
parent9b9250052c018d073da85b2cb05693fec2efec22 (diff)
parent93fab48b524cf73dca56ec51d408c88cf41c998c (diff)
downloadrust-3dde8e0f29a11b4ec77c62a654f35aeb759db3cd.tar.gz
rust-3dde8e0f29a11b4ec77c62a654f35aeb759db3cd.zip
auto merge of #8480 : cmr/rust/tutorial, r=metajack
-rw-r--r--doc/tutorial.md2
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 }
 }
 ~~~~