Skip to content

Commit

Permalink
Unindent stringifier() in tasks guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Havvy committed Mar 22, 2014
1 parent 403e869 commit a73d2c7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/doc/guide-tasks.md
Expand Up @@ -493,14 +493,14 @@ Here is the function that implements the child task:
~~~
extern crate sync;
# fn main() {
fn stringifier(channel: &sync::DuplexStream<~str, uint>) {
let mut value: uint;
loop {
value = channel.recv();
channel.send(value.to_str());
if value == 0 { break; }
}
fn stringifier(channel: &sync::DuplexStream<~str, uint>) {
let mut value: uint;
loop {
value = channel.recv();
channel.send(value.to_str());
if value == 0 { break; }
}
}
# }
~~~~

Expand Down

5 comments on commit a73d2c7

@bors
Copy link
Contributor

@bors bors commented on a73d2c7 Mar 22, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at Havvy@a73d2c7

@bors
Copy link
Contributor

@bors bors commented on a73d2c7 Mar 22, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging Havvy/rust/master = a73d2c7 into auto

@bors
Copy link
Contributor

@bors bors commented on a73d2c7 Mar 22, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Havvy/rust/master = a73d2c7 merged ok, testing candidate = 6f430c4

@bors
Copy link
Contributor

@bors bors commented on a73d2c7 Mar 22, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on a73d2c7 Mar 22, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 6f430c4

Please sign in to comment.