diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-14 12:07:23 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-14 18:19:08 -0700 |
| commit | 3864d6d845f6bf9493698606bba2220daede4738 (patch) | |
| tree | 206d35d98526bec1424c87f4c77af141e99bec4b /src/rustc/back | |
| parent | 383a80199351c6b9f9f4834242231c8586fb2ab6 (diff) | |
| download | rust-3864d6d845f6bf9493698606bba2220daede4738.tar.gz rust-3864d6d845f6bf9493698606bba2220daede4738.zip | |
std: Rename the hashmap constructors to conform to new standards
Instead of using the new_ prefix just name them after their type
Diffstat (limited to 'src/rustc/back')
| -rw-r--r-- | src/rustc/back/rpath.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/back/rpath.rs b/src/rustc/back/rpath.rs index b121d69723b..324b2599b55 100644 --- a/src/rustc/back/rpath.rs +++ b/src/rustc/back/rpath.rs @@ -178,7 +178,7 @@ fn get_install_prefix_rpath(cwd: path::path, target_triple: str) -> str { } fn minimize_rpaths(rpaths: [str]) -> [str] { - let set = map::new_str_hash::<()>(); + let set = map::str_hash::<()>(); let minimized = []; for rpath in rpaths { if !set.contains_key(rpath) { |
