about summary refs log tree commit diff
path: root/src/librustc/back
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-04-03 09:28:36 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-04-03 10:30:36 -0400
commitcc148b58ff7a4eb6861701be61396d1a685f6657 (patch)
tree69bb3a4fc9ad6bb1a28e592a492c2720353968f1 /src/librustc/back
parent44029a5bbc4812f7144ee8d0d4ee95d52aeca6cf (diff)
downloadrust-cc148b58ff7a4eb6861701be61396d1a685f6657.tar.gz
rust-cc148b58ff7a4eb6861701be61396d1a685f6657.zip
rename Linear{Map,Set} => Hash{Map,Set}
Diffstat (limited to 'src/librustc/back')
-rw-r--r--src/librustc/back/rpath.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/back/rpath.rs b/src/librustc/back/rpath.rs
index 89d1eb53c82..cc1168bd79d 100644
--- a/src/librustc/back/rpath.rs
+++ b/src/librustc/back/rpath.rs
@@ -18,7 +18,7 @@ use core::os;
 use core::uint;
 use core::util;
 use core::vec;
-use core::hashmap::LinearSet;
+use core::hashmap::HashSet;
 
 fn not_win32(os: session::os) -> bool {
   match os {
@@ -186,7 +186,7 @@ pub fn get_install_prefix_rpath(target_triple: &str) -> Path {
 }
 
 pub fn minimize_rpaths(rpaths: &[Path]) -> ~[Path] {
-    let mut set = LinearSet::new();
+    let mut set = HashSet::new();
     let mut minimized = ~[];
     for rpaths.each |rpath| {
         if set.insert(rpath.to_str()) {