From c76e86f416c312923da6585ac5182b35807cc008 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 12 Nov 2013 21:32:12 -0800 Subject: [PATCH] Update for io move --- lib.rs | 2 +- test.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib.rs b/lib.rs index f69fcf0e..d5cfab7f 100644 --- a/lib.rs +++ b/lib.rs @@ -11,7 +11,7 @@ use std::ptr; use std::task; use std::unstable::atomics::{AtomicBool, INIT_ATOMIC_BOOL, AtomicInt, INIT_ATOMIC_INT, Acquire, Release, SeqCst}; -use std::rt::io::{Stream, Reader, Writer, Decorator}; +use std::io::{Stream, Reader, Writer, Decorator}; use std::vec; use self::error::{SslError, SslSessionClosed, StreamEof}; diff --git a/test.rs b/test.rs index dbcb19db..4167f9eb 100644 --- a/test.rs +++ b/test.rs @@ -1,7 +1,7 @@ #[feature(struct_variant)]; -use std::rt::io::Writer; -use std::rt::io::net::tcp::TcpStream; +use std::io::Writer; +use std::io::net::tcp::TcpStream; use std::str; use lib::{Sslv23, SslContext, SslStream, SslVerifyPeer};