about summary refs log tree commit diff
path: root/src/rustc/back
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-09-19 15:13:04 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-09-19 15:51:44 -0700
commit1ffd90edbc5494d54ab911e9931c296aca7a7707 (patch)
tree7d6cf224429bdc7f26cef9b91ccd170a9318b7e6 /src/rustc/back
parent384906c1e807196fbb8653e3233c92f920888d40 (diff)
Remove redundant hashmap constructor functions.
Diffstat (limited to 'src/rustc/back')
-rw-r--r--src/rustc/back/rpath.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/back/rpath.rs b/src/rustc/back/rpath.rs
index df3e9e88185..5dcc4a5eca3 100644
--- a/src/rustc/back/rpath.rs
+++ b/src/rustc/back/rpath.rs
@@ -167,7 +167,7 @@ fn get_install_prefix_rpath(target_triple: &str) -> Path {
 }
 
 fn minimize_rpaths(rpaths: &[Path]) -> ~[Path] {
-    let set = map::str_hash::<()>();
+    let set = map::HashMap();
     let mut minimized = ~[];
     for rpaths.each |rpath| {
         let s = rpath.to_str();