diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2013-02-02 16:40:42 +0100 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-02-03 15:37:25 -0800 |
| commit | af4972f3ce2235ee3055b281f381214529f4e4ef (patch) | |
| tree | a2d0a963e483d20202fab9f7dcdb56cfb6d67352 /doc/tutorial-tasks.md | |
| parent | 98445d95d4615093c5e639f1e966830b99b95d63 (diff) | |
Fixed `fmt!`, tests, doc-tests.
Diffstat (limited to 'doc/tutorial-tasks.md')
| -rw-r--r-- | doc/tutorial-tasks.md | 4 |
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; } # } # } |
