about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-06 16:16:35 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-06 21:26:48 -0800
commita64000820f0fc32be4d7535a9a92418a434fa4ba (patch)
tree916024d35e08f0826c20654f629ec596b5cb1f14 /src/libstd/sync
parent24ccb34266c93a21b4cd1bef473c56087689c079 (diff)
downloadrust-a64000820f0fc32be4d7535a9a92418a434fa4ba.tar.gz
rust-a64000820f0fc32be4d7535a9a92418a434fa4ba.zip
More test fixes
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/mpsc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mpsc/mod.rs b/src/libstd/sync/mpsc/mod.rs
index f24a329a390..eca7d3155b1 100644
--- a/src/libstd/sync/mpsc/mod.rs
+++ b/src/libstd/sync/mpsc/mod.rs
@@ -481,7 +481,7 @@ impl<T> UnsafeFlavor<T> for Receiver<T> {
 /// // Do some useful work for awhile
 ///
 /// // Let's see what that answer was
-/// println!("{}", rx.recv().unwrap());
+/// println!("{:?}", rx.recv().unwrap());
 /// ```
 #[stable]
 pub fn channel<T: Send>() -> (Sender<T>, Receiver<T>) {