diff options
| author | OGINO Masanori <masanori.ogino@gmail.com> | 2014-06-27 05:22:26 +0900 |
|---|---|---|
| committer | OGINO Masanori <masanori.ogino@gmail.com> | 2014-06-27 07:10:33 +0900 |
| commit | dfef4220242227fb210e58eedc91bcc74de8921f (patch) | |
| tree | 0eb21e33da14b44ca99e2b78f17045f83fd73718 /src/libstd/io/timer.rs | |
| parent | b20f968ed2a4808f98ffce52ce95398009565ece (diff) | |
| download | rust-dfef4220242227fb210e58eedc91bcc74de8921f.tar.gz rust-dfef4220242227fb210e58eedc91bcc74de8921f.zip | |
std::io: Use re-exported pathes in examples.
We use re-exported pathes (e.g. std::io::Command) and original ones (e.g. std::io::process::Command) together in examples now. Using re-exported ones consistently avoids confusion. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
Diffstat (limited to 'src/libstd/io/timer.rs')
| -rw-r--r-- | src/libstd/io/timer.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/io/timer.rs b/src/libstd/io/timer.rs index 9ae855536ac..432461c4606 100644 --- a/src/libstd/io/timer.rs +++ b/src/libstd/io/timer.rs @@ -110,7 +110,7 @@ impl Timer { /// # Example /// /// ```rust - /// use std::io::timer::Timer; + /// use std::io::Timer; /// /// let mut timer = Timer::new().unwrap(); /// let ten_milliseconds = timer.oneshot(10); @@ -122,7 +122,7 @@ impl Timer { /// ``` /// /// ```rust - /// use std::io::timer::Timer; + /// use std::io::Timer; /// /// // Incorrect, method chaining-style: /// let mut five_ms = Timer::new().unwrap().oneshot(5); @@ -152,7 +152,7 @@ impl Timer { /// # Example /// /// ```rust - /// use std::io::timer::Timer; + /// use std::io::Timer; /// /// let mut timer = Timer::new().unwrap(); /// let ten_milliseconds = timer.periodic(10); @@ -170,7 +170,7 @@ impl Timer { /// ``` /// /// ```rust - /// use std::io::timer::Timer; + /// use std::io::Timer; /// /// // Incorrect, method chaining-style. /// let mut five_ms = Timer::new().unwrap().periodic(5); |
