More test fixes

This commit is contained in:
Alex Crichton
2015-01-06 16:16:35 -08:00
parent 24ccb34266
commit a64000820f
64 changed files with 227 additions and 187 deletions

View File

@@ -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>) {