about summary refs log tree commit diff
path: root/doc/tutorial-tasks.md
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2013-02-02 16:40:42 +0100
committerBrian Anderson <banderson@mozilla.com>2013-02-03 15:37:25 -0800
commitaf4972f3ce2235ee3055b281f381214529f4e4ef (patch)
treea2d0a963e483d20202fab9f7dcdb56cfb6d67352 /doc/tutorial-tasks.md
parent98445d95d4615093c5e639f1e966830b99b95d63 (diff)
Fixed `fmt!`, tests, doc-tests.
Diffstat (limited to 'doc/tutorial-tasks.md')
-rw-r--r--doc/tutorial-tasks.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tutorial-tasks.md b/doc/tutorial-tasks.md
index 3434ef022da..f814970375a 100644
--- a/doc/tutorial-tasks.md
+++ b/doc/tutorial-tasks.md
@@ -473,7 +473,7 @@ fn stringifier(channel: &DuplexStream<~str, uint>) {
     let mut value: uint;
     loop {
         value = channel.recv();
-        channel.send(uint::to_str(value, 10));
+        channel.send(uint::to_str(value));
         if value == 0 { break; }
     }
 }
@@ -497,7 +497,7 @@ Here is the code for the parent task:
 #     let mut value: uint;
 #     loop {
 #         value = channel.recv();
-#         channel.send(uint::to_str(value, 10u));
+#         channel.send(uint::to_str(value));
 #         if value == 0u { break; }
 #     }
 # }