diff options
| author | Richo Healey <richo@psych0tik.net> | 2014-05-22 16:57:53 -0700 |
|---|---|---|
| committer | Richo Healey <richo@psych0tik.net> | 2014-05-24 21:48:10 -0700 |
| commit | 553074506ecd139eb961fb91eb33ad9fd0183acb (patch) | |
| tree | 01682cf8147183250713acf5e8a77265aab7153c /src/doc/guide-tasks.md | |
| parent | bbb70cdd9cd982922cf7390459d53bde409699ae (diff) | |
| download | rust-553074506ecd139eb961fb91eb33ad9fd0183acb.tar.gz rust-553074506ecd139eb961fb91eb33ad9fd0183acb.zip | |
core: rename strbuf::StrBuf to string::String
[breaking-change]
Diffstat (limited to 'src/doc/guide-tasks.md')
| -rw-r--r-- | src/doc/guide-tasks.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide-tasks.md b/src/doc/guide-tasks.md index 8df11c59f60..b0a0f10327c 100644 --- a/src/doc/guide-tasks.md +++ b/src/doc/guide-tasks.md @@ -463,7 +463,7 @@ Here is the function that implements the child task: ~~~ extern crate sync; # fn main() { -fn stringifier(channel: &sync::DuplexStream<StrBuf, uint>) { +fn stringifier(channel: &sync::DuplexStream<String, uint>) { let mut value: uint; loop { value = channel.recv(); @@ -488,7 +488,7 @@ Here is the code for the parent task: extern crate sync; # use std::task::spawn; # use sync::DuplexStream; -# fn stringifier(channel: &sync::DuplexStream<StrBuf, uint>) { +# fn stringifier(channel: &sync::DuplexStream<String, uint>) { # let mut value: uint; # loop { # value = channel.recv(); |
