diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libstd/arena.rs | 3 | ||||
| -rw-r--r-- | src/libstd/future.rs | 2 | ||||
| -rw-r--r-- | src/libstd/net_tcp.rs | 2 | ||||
| -rw-r--r-- | src/libstd/net_url.rs | 2 | ||||
| -rw-r--r-- | src/libstd/workcache.rs | 4 |
5 files changed, 3 insertions, 10 deletions
diff --git a/src/libstd/arena.rs b/src/libstd/arena.rs index 0e9b2ed3da8..67b5e5e654a 100644 --- a/src/libstd/arena.rs +++ b/src/libstd/arena.rs @@ -33,7 +33,6 @@ // to waste time running the destructors of POD. use list::{MutList, MutCons, MutNil}; -use list; use core::at_vec; use core::cast::{transmute, transmute_mut_region}; @@ -79,7 +78,7 @@ struct Chunk { } pub struct Arena { - // The head is seperated out from the list as a unbenchmarked + // The head is separated out from the list as a unbenchmarked // microoptimization, to avoid needing to case on the list to // access the head. priv head: Chunk, diff --git a/src/libstd/future.rs b/src/libstd/future.rs index f59abfa81ca..a0312849a35 100644 --- a/src/libstd/future.rs +++ b/src/libstd/future.rs @@ -23,7 +23,7 @@ use core::cast; use core::cell::Cell; -use core::comm::{ChanOne, PortOne, oneshot, send_one}; +use core::comm::{PortOne, oneshot, send_one}; use core::pipes::recv; use core::task; diff --git a/src/libstd/net_tcp.rs b/src/libstd/net_tcp.rs index 764152d6812..6278db617c7 100644 --- a/src/libstd/net_tcp.rs +++ b/src/libstd/net_tcp.rs @@ -11,8 +11,6 @@ //! High-level interface to libuv's TCP functionality // FIXME #4425: Need FFI fixes -#[allow(deprecated_mode)]; - use future; use future_spawn = future::spawn; use ip = net_ip; diff --git a/src/libstd/net_url.rs b/src/libstd/net_url.rs index 21e1733cc30..ba3fd69e344 100644 --- a/src/libstd/net_url.rs +++ b/src/libstd/net_url.rs @@ -10,8 +10,6 @@ //! Types/fns concerning URLs (see RFC 3986) -#[allow(deprecated_mode)]; - use core::cmp::Eq; use core::io::{Reader, ReaderUtil}; use core::io; diff --git a/src/libstd/workcache.rs b/src/libstd/workcache.rs index 2cdf36c71c7..f44d143004e 100644 --- a/src/libstd/workcache.rs +++ b/src/libstd/workcache.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#[allow(deprecated_mode)]; - use json; use sha1; use serialize::{Encoder, Encodable, Decoder, Decodable}; @@ -17,7 +15,7 @@ use sort; use core::cell::Cell; use core::cmp; -use core::comm::{ChanOne, PortOne, oneshot, send_one}; +use core::comm::{PortOne, oneshot, send_one}; use core::either::{Either, Left, Right}; use core::hashmap::HashMap; use core::io; |
