diff options
| author | bors <bors@rust-lang.org> | 2013-10-28 10:56:34 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-28 10:56:34 -0700 |
| commit | e6102fc2fa72501ebf10ad8853b2a31332e6bdfd (patch) | |
| tree | 4f553f9e135627ec1ef98dbc305888f0950d5e68 /src/libextra/workcache.rs | |
| parent | 0a9a706b20ee43c601c2c70d62059610d40198fe (diff) | |
| parent | 72557d83124aac4a362b99cbdb31a00f46be4bae (diff) | |
| download | rust-e6102fc2fa72501ebf10ad8853b2a31332e6bdfd.tar.gz rust-e6102fc2fa72501ebf10ad8853b2a31332e6bdfd.zip | |
auto merge of #10079 : alexcrichton/rust/no-reader-util, r=brson
These methods are all excellent candidates for default methods, so there's no need to require extra imports of various traits. Additionally, this was able to remove all the weird underscores after the method names. Yay!
Diffstat (limited to 'src/libextra/workcache.rs')
| -rw-r--r-- | src/libextra/workcache.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libextra/workcache.rs b/src/libextra/workcache.rs index bdc8b95ad41..507962c0b1a 100644 --- a/src/libextra/workcache.rs +++ b/src/libextra/workcache.rs @@ -20,6 +20,7 @@ use std::comm::{PortOne, oneshot}; use std::{os, str, task}; use std::rt::io; use std::rt::io::Writer; +use std::rt::io::Reader; use std::rt::io::Decorator; use std::rt::io::mem::MemWriter; use std::rt::io::file::FileInfo; @@ -481,7 +482,7 @@ impl<'self, T:Send + #[test] fn test() { use std::{os, run}; - use std::rt::io::ReaderUtil; + use std::rt::io::Reader; use std::str::from_utf8_owned; // Create a path to a new file 'filename' in the directory in which |
