allover: numerous unused muts etc

This commit is contained in:
Niko Matsakis 2013-04-30 14:10:21 -04:00
parent 70b9ad1748
commit 418f991118
20 changed files with 41 additions and 53 deletions

View file

@ -617,7 +617,7 @@ pub mod writer {
priv impl Encoder {
// used internally to emit things like the vector length and so on
fn _emit_tagged_uint(&self, t: EbmlEncoderTag, v: uint) {
assert!(v <= 0xFFFF_FFFF_u);
assert!(v <= 0xFFFF_FFFF_u); // FIXME(#6130) assert warns on 32-bit
self.wr_tagged_u32(t as uint, v as u32);
}

View file

@ -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;

View file

@ -11,7 +11,6 @@
//! Sorting methods
use core::cmp::{Eq, Ord};
use core::util;
use core::vec::len;
use core::vec;

View file

@ -17,7 +17,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;