auto merge of #14186 : omasanori/rust/suppress-warnings, r=alexcrichton

This commit is contained in:
bors 2014-05-14 04:06:26 -07:00
commit d9906813c8
2 changed files with 3 additions and 3 deletions

View File

@ -1906,7 +1906,7 @@ mod test_map {
}
assert_eq!(m.len(), 32);
let mut observed = 0;
let mut observed: u32 = 0;
for (k, v) in m.iter() {
assert_eq!(*v, *k * 2);
@ -2102,7 +2102,7 @@ mod test_set {
for i in range(0u, 32) {
assert!(a.insert(i));
}
let mut observed = 0;
let mut observed: u32 = 0;
for k in a.iter() {
observed |= 1 << *k;
}

View File

@ -1116,7 +1116,7 @@ mod test {
spawn(proc() {
tx.send(TcpStream::connect(addr.ip.to_str(), port).unwrap());
});
let l = rx.recv();
let _l = rx.recv();
for i in range(0, 1001) {
match a.accept() {
Ok(..) => break,