1
Fork 0

remove some compiler warnings

This commit is contained in:
Tshepang Lekhonkhobe 2015-02-25 08:20:34 +02:00
parent 610d1695d1
commit 8b2ff472cf
9 changed files with 23 additions and 26 deletions

View file

@ -3945,9 +3945,7 @@ mod tests {
#[test]
fn test_encode_hashmap_with_arbitrary_key() {
use std::old_io::Writer;
use std::collections::HashMap;
use std::fmt;
#[derive(PartialEq, Eq, Hash, RustcEncodable)]
struct ArbitraryType(uint);
let mut hm: HashMap<ArbitraryType, bool> = HashMap::new();