remove some compiler warnings
This commit is contained in:
parent
610d1695d1
commit
8b2ff472cf
9 changed files with 23 additions and 26 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue