diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-31 10:26:25 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-31 15:53:25 -0700 |
| commit | 94137a37e90f2fc5faf725965b419944e14ad271 (patch) | |
| tree | f8423c7d6d8af63c531dcaf923fbf69795337610 /src/libstd | |
| parent | e3f2d45cb38a89172c423aba07ce270b1a04984f (diff) | |
| download | rust-94137a37e90f2fc5faf725965b419944e14ad271.tar.gz rust-94137a37e90f2fc5faf725965b419944e14ad271.zip | |
Test fixes and rebase conflicts, round 1
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/old_io/mem.rs | 2 | ||||
| -rw-r--r-- | src/libstd/old_io/net/ip.rs | 2 | ||||
| -rw-r--r-- | src/libstd/old_io/process.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/old_io/mem.rs b/src/libstd/old_io/mem.rs index 7d491c8e8fe..c28ad651f80 100644 --- a/src/libstd/old_io/mem.rs +++ b/src/libstd/old_io/mem.rs @@ -744,7 +744,7 @@ mod test { wr.write(&[5; 10]).unwrap(); } } - assert_eq!(buf.as_ref(), [5; 100].as_ref()); + assert_eq!(&buf[..], &[5; 100][..]); }); } diff --git a/src/libstd/old_io/net/ip.rs b/src/libstd/old_io/net/ip.rs index d405bde19cb..099fe657f26 100644 --- a/src/libstd/old_io/net/ip.rs +++ b/src/libstd/old_io/net/ip.rs @@ -414,7 +414,7 @@ pub struct ParseError; /// Some examples: /// /// ```rust,no_run -/// # #![feature(old_io, core)] +/// # #![feature(old_io, core, convert)] /// # #![allow(unused_must_use)] /// /// use std::old_io::{TcpStream, TcpListener}; diff --git a/src/libstd/old_io/process.rs b/src/libstd/old_io/process.rs index a2129fcde58..84d8fa31ba8 100644 --- a/src/libstd/old_io/process.rs +++ b/src/libstd/old_io/process.rs @@ -367,7 +367,7 @@ impl Command { /// # Examples /// /// ``` - /// # #![feature(old_io, core)] + /// # #![feature(old_io, core, convert)] /// use std::old_io::Command; /// /// let output = match Command::new("cat").arg("foot.txt").output() { |
