about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2013-05-03 15:57:18 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-05-03 16:56:33 -0700
commit18bf9bd55aa87d3da19e343241d1171414e2fc92 (patch)
tree5ad6290d89520c9cdb3c91eb84d1b0c8e14fa991
parent5fb5a94118399e50c50f25586266c317ee5ba69b (diff)
downloadrust-18bf9bd55aa87d3da19e343241d1171414e2fc92.tar.gz
rust-18bf9bd55aa87d3da19e343241d1171414e2fc92.zip
std: Warning police
-rw-r--r--src/libstd/arena.rs3
-rw-r--r--src/libstd/future.rs2
-rw-r--r--src/libstd/net_tcp.rs2
-rw-r--r--src/libstd/net_url.rs2
-rw-r--r--src/libstd/workcache.rs4
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;