From a73d2c70d4c24b85f3846d79b241ba1eb5f95e23 Mon Sep 17 00:00:00 2001 From: "Ryan Scheel (Havvy)" Date: Sat, 22 Mar 2014 11:54:19 -0700 Subject: [PATCH] Unindent stringifier() in tasks guide --- src/doc/guide-tasks.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/doc/guide-tasks.md b/src/doc/guide-tasks.md index 969ade289d3..9f8e5c727bd 100644 --- a/src/doc/guide-tasks.md +++ b/src/doc/guide-tasks.md @@ -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; } } +} # } ~~~~