about summary refs log tree commit diff
path: root/src/libserialize
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2015-02-25 08:20:34 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-02-26 07:21:26 +0200
commit8b2ff472cf0d1e348cc369e2e2927dc552582b32 (patch)
treec325919286138b814a64027ae8d0bb028621bd08 /src/libserialize
parent610d1695d1e0f1bb4e59449d8ba70409b1dc610c (diff)
downloadrust-8b2ff472cf0d1e348cc369e2e2927dc552582b32.tar.gz
rust-8b2ff472cf0d1e348cc369e2e2927dc552582b32.zip
remove some compiler warnings
Diffstat (limited to 'src/libserialize')
-rw-r--r--src/libserialize/json.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libserialize/json.rs b/src/libserialize/json.rs
index 05d4e0f59fe..14930f91c91 100644
--- a/src/libserialize/json.rs
+++ b/src/libserialize/json.rs
@@ -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();