about summary refs log tree commit diff
path: root/src/libstd/old_io/pipe.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2015-02-17 15:10:25 -0800
committerAaron Turon <aturon@mozilla.com>2015-02-17 15:14:17 -0800
commitd0de2b46e9bcca93971ef64d6ecdef872633f246 (patch)
tree13c7a861124e388d180e2fd3a164160f3c0146d0 /src/libstd/old_io/pipe.rs
parentd8f8f7a58c7c8b3352c1c577347865f5a823fee3 (diff)
downloadrust-d0de2b46e9bcca93971ef64d6ecdef872633f246.tar.gz
rust-d0de2b46e9bcca93971ef64d6ecdef872633f246.zip
Fallout from stabilization
Diffstat (limited to 'src/libstd/old_io/pipe.rs')
-rw-r--r--src/libstd/old_io/pipe.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/old_io/pipe.rs b/src/libstd/old_io/pipe.rs
index 5843b1ba1b1..b7b626db034 100644
--- a/src/libstd/old_io/pipe.rs
+++ b/src/libstd/old_io/pipe.rs
@@ -115,7 +115,7 @@ mod test {
     use prelude::v1::*;
 
     use sync::mpsc::channel;
-    use thread::Thread;
+    use thread;
 
     #[test]
     fn partial_read() {
@@ -126,7 +126,7 @@ mod test {
         let out = PipeStream::open(writer);
         let mut input = PipeStream::open(reader);
         let (tx, rx) = channel();
-        let _t = Thread::spawn(move|| {
+        let _t = thread::spawn(move|| {
             let mut out = out;
             out.write(&[10]).unwrap();
             rx.recv().unwrap(); // don't close the pipe until the other read has finished