Skip to content

Commit 18bf9bd

Browse files
committed
std: Warning police
1 parent 5fb5a94 commit 18bf9bd

File tree

5 files changed

+3
-10
lines changed

5 files changed

+3
-10
lines changed

src/libstd/arena.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
// to waste time running the destructors of POD.
3434

3535
use list::{MutList, MutCons, MutNil};
36-
use list;
3736

3837
use core::at_vec;
3938
use core::cast::{transmute, transmute_mut_region};
@@ -79,7 +78,7 @@ struct Chunk {
7978
}
8079

8180
pub struct Arena {
82-
// The head is seperated out from the list as a unbenchmarked
81+
// The head is separated out from the list as a unbenchmarked
8382
// microoptimization, to avoid needing to case on the list to
8483
// access the head.
8584
priv head: Chunk,

src/libstd/future.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
use core::cast;
2525
use core::cell::Cell;
26-
use core::comm::{ChanOne, PortOne, oneshot, send_one};
26+
use core::comm::{PortOne, oneshot, send_one};
2727
use core::pipes::recv;
2828
use core::task;
2929

src/libstd/net_tcp.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
//! High-level interface to libuv's TCP functionality
1212
// FIXME #4425: Need FFI fixes
1313

14-
#[allow(deprecated_mode)];
15-
1614
use future;
1715
use future_spawn = future::spawn;
1816
use ip = net_ip;

src/libstd/net_url.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
//! Types/fns concerning URLs (see RFC 3986)
1212
13-
#[allow(deprecated_mode)];
14-
1513
use core::cmp::Eq;
1614
use core::io::{Reader, ReaderUtil};
1715
use core::io;

src/libstd/workcache.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#[allow(deprecated_mode)];
12-
1311
use json;
1412
use sha1;
1513
use serialize::{Encoder, Encodable, Decoder, Decodable};
1614
use sort;
1715

1816
use core::cell::Cell;
1917
use core::cmp;
20-
use core::comm::{ChanOne, PortOne, oneshot, send_one};
18+
use core::comm::{PortOne, oneshot, send_one};
2119
use core::either::{Either, Left, Right};
2220
use core::hashmap::HashMap;
2321
use core::io;

0 commit comments

Comments
 (0)