about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-01-23 10:25:27 -0500
committerDaniel Micay <danielmicay@gmail.com>2013-01-23 14:25:01 -0500
commitb7ef28c33abff6bcaf353a3958e497e15ee3268d (patch)
treeb3dd52f504f2897d99bd6d814a4386e7660cee07 /src/libstd
parent54344c2468b95c4de5a297ddf4a5519792a34410 (diff)
downloadrust-b7ef28c33abff6bcaf353a3958e497e15ee3268d.tar.gz
rust-b7ef28c33abff6bcaf353a3958e497e15ee3268d.zip
rename send_map to hashmap
This makes the module much more discoverable, and is in line with the
'treemap' naming.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/json.rs4
-rw-r--r--src/libstd/map.rs2
-rw-r--r--src/libstd/net_url.rs6
-rw-r--r--src/libstd/workcache.rs2
4 files changed, 7 insertions, 7 deletions
diff --git a/src/libstd/json.rs b/src/libstd/json.rs
index 83e98ac1ed1..770266f3939 100644
--- a/src/libstd/json.rs
+++ b/src/libstd/json.rs
@@ -24,7 +24,7 @@ use core::float;
 use core::io::{WriterUtil, ReaderUtil};
 use core::io;
 use core::prelude::*;
-use core::send_map::linear;
+use core::hashmap::linear;
 use core::str;
 use core::to_str;
 use core::vec;
@@ -1223,7 +1223,7 @@ mod tests {
     use json::*;
 
     use core::result;
-    use core::send_map::linear;
+    use core::hashmap::linear;
 
     fn mk_object(items: &[(~str, Json)]) -> Json {
         let mut d = ~linear::LinearMap();
diff --git a/src/libstd/map.rs b/src/libstd/map.rs
index d76fd85c587..ac8e15f7220 100644
--- a/src/libstd/map.rs
+++ b/src/libstd/map.rs
@@ -19,7 +19,7 @@ use core::ops;
 use core::to_str::ToStr;
 use core::mutable::Mut;
 use core::prelude::*;
-use core::send_map::linear::LinearMap;
+use core::hashmap::linear::LinearMap;
 use core::to_bytes::IterBytes;
 use core::uint;
 use core::vec;
diff --git a/src/libstd/net_url.rs b/src/libstd/net_url.rs
index 1992e38e7fa..5d20fcf7f91 100644
--- a/src/libstd/net_url.rs
+++ b/src/libstd/net_url.rs
@@ -20,8 +20,8 @@ use core::from_str::FromStr;
 use core::io::{Reader, ReaderUtil};
 use core::io;
 use core::prelude::*;
-use core::send_map::linear::LinearMap;
-use core::send_map;
+use core::hashmap::linear::LinearMap;
+use core::hashmap;
 use core::str;
 use core::to_bytes::IterBytes;
 use core::to_bytes;
@@ -246,7 +246,7 @@ pub fn encode_form_urlencoded(m: &LinearMap<~str, ~[~str]>) -> ~str {
  */
 pub fn decode_form_urlencoded(
     s: &[u8]
-) -> send_map::linear::LinearMap<~str, ~[~str]> {
+) -> hashmap::linear::LinearMap<~str, ~[~str]> {
     do io::with_bytes_reader(s) |rdr| {
         let mut m = LinearMap();
         let mut key = ~"";
diff --git a/src/libstd/workcache.rs b/src/libstd/workcache.rs
index c0d762370c6..caf460a9be9 100644
--- a/src/libstd/workcache.rs
+++ b/src/libstd/workcache.rs
@@ -22,7 +22,7 @@ use core::pipes::{recv, oneshot, PortOne, send_one};
 use core::prelude::*;
 use core::result;
 use core::run;
-use core::send_map::linear::LinearMap;
+use core::hashmap::linear::LinearMap;
 use core::task;
 use core::to_bytes;
 use core::mutable::Mut;