about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-06 16:48:51 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-07 23:51:38 -0800
commit7e0443d6c4e683105f20de85dc4591cc5cf2518d (patch)
tree631c8a852acedabef00ba3e371e785e90a581c56 /src/libstd/io
parent5350ee740e66a73161eb4cdf5b95d55fe570fc26 (diff)
downloadrust-7e0443d6c4e683105f20de85dc4591cc5cf2518d.tar.gz
rust-7e0443d6c4e683105f20de85dc4591cc5cf2518d.zip
std: Fill in all missing imports
Fallout from the previous commits
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/extensions.rs1
-rw-r--r--src/libstd/io/net/ip.rs4
-rw-r--r--src/libstd/io/stdio.rs3
3 files changed, 7 insertions, 1 deletions
diff --git a/src/libstd/io/extensions.rs b/src/libstd/io/extensions.rs
index 1b6d1171a52..5fed9d74527 100644
--- a/src/libstd/io/extensions.rs
+++ b/src/libstd/io/extensions.rs
@@ -16,6 +16,7 @@
 use iter::Iterator;
 use option::Option;
 use io::Reader;
+use vec::OwnedVector;
 
 /// An iterator that reads a single byte on each iteration,
 /// until `.read_byte()` returns `None`.
diff --git a/src/libstd/io/net/ip.rs b/src/libstd/io/net/ip.rs
index 9fd183ca770..00f66f1e9c7 100644
--- a/src/libstd/io/net/ip.rs
+++ b/src/libstd/io/net/ip.rs
@@ -10,9 +10,11 @@
 
 use container::Container;
 use from_str::FromStr;
+use iter::Iterator;
 use option::{Option, None, Some};
+use str::StrSlice;
 use to_str::ToStr;
-use vec::{MutableCloneableVector, ImmutableVector};
+use vec::{MutableCloneableVector, ImmutableVector, MutableVector};
 
 pub type Port = u16;
 
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs
index 396e892520c..6e6cdfb25de 100644
--- a/src/libstd/io/stdio.rs
+++ b/src/libstd/io/stdio.rs
@@ -26,6 +26,7 @@ out.write(bytes!("Hello, world!"));
 
 */
 
+use container::Container;
 use fmt;
 use io::buffered::LineBufferedWriter;
 use io::{Reader, Writer, io_error, IoError, OtherIoError,
@@ -37,7 +38,9 @@ use result::{Ok, Err};
 use rt::local::Local;
 use rt::rtio::{DontClose, IoFactory, LocalIo, RtioFileStream, RtioTTY};
 use rt::task::Task;
+use str::StrSlice;
 use util;
+use vec::ImmutableVector;
 
 // And so begins the tale of acquiring a uv handle to a stdio stream on all
 // platforms in all situations. Our story begins by splitting the world into two