```rust
# #![allow(unused_must_use)]
- use std::io::net::tcp::TcpStream;
+ use std::io::TcpStream;
# // connection doesn't fail if a server is running on 8080
# // locally, we still want to be type checking this code, so lets
///
/// ```no_run
/// # #![allow(unused_must_use)]
-/// use std::io::net::tcp::TcpStream;
+/// use std::io::TcpStream;
///
/// let mut stream = TcpStream::connect("127.0.0.1", 34254);
///
/// ```no_run
/// # #![allow(unused_must_use)]
/// use std::io::timer;
- /// use std::io::net::tcp::TcpStream;
+ /// use std::io::TcpStream;
///
/// let mut stream = TcpStream::connect("127.0.0.1", 34254).unwrap();
/// let stream2 = stream.clone();
///
/// ```no_run
/// # #![allow(experimental)]
- /// use std::io::net::tcp::TcpListener;
+ /// use std::io::TcpListener;
/// use std::io::{Listener, Acceptor, TimedOut};
///
/// let mut a = TcpListener::bind("127.0.0.1", 8482).listen().unwrap();
///
/// ```no_run
/// # #![allow(experimental)]
- /// use std::io::process::{Command, ProcessExit};
- /// use std::io::IoResult;
+ /// use std::io::{Command, IoResult};
+ /// use std::io::process::ProcessExit;
///
/// fn run_gracefully(prog: &str) -> IoResult<ProcessExit> {
/// let mut p = try!(Command::new("long-running-process").spawn());
/// # Example
///
/// ```rust
- /// use std::io::timer::Timer;
+ /// use std::io::Timer;
///
/// let mut timer = Timer::new().unwrap();
/// let ten_milliseconds = timer.oneshot(10);
/// ```
///
/// ```rust
- /// use std::io::timer::Timer;
+ /// use std::io::Timer;
///
/// // Incorrect, method chaining-style:
/// let mut five_ms = Timer::new().unwrap().oneshot(5);
/// # Example
///
/// ```rust
- /// use std::io::timer::Timer;
+ /// use std::io::Timer;
///
/// let mut timer = Timer::new().unwrap();
/// let ten_milliseconds = timer.periodic(10);
/// ```
///
/// ```rust
- /// use std::io::timer::Timer;
+ /// use std::io::Timer;
///
/// // Incorrect, method chaining-style.
/// let mut five_ms = Timer::new().unwrap().periodic(5);