We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 403e869 commit a73d2c7Copy full SHA for a73d2c7
src/doc/guide-tasks.md
@@ -493,14 +493,14 @@ Here is the function that implements the child task:
493
~~~
494
extern crate sync;
495
# fn main() {
496
- fn stringifier(channel: &sync::DuplexStream<~str, uint>) {
497
- let mut value: uint;
498
- loop {
499
- value = channel.recv();
500
- channel.send(value.to_str());
501
- if value == 0 { break; }
502
- }
+fn stringifier(channel: &sync::DuplexStream<~str, uint>) {
+ let mut value: uint;
+ loop {
+ value = channel.recv();
+ channel.send(value.to_str());
+ if value == 0 { break; }
503
}
+}
504
# }
505
~~~~
506
0 commit comments