auto merge of #14186 : omasanori/rust/suppress-warnings, r=alexcrichton
This commit is contained in:
commit
d9906813c8
@ -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;
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user