diff options
Diffstat (limited to 'src/libstd/map.rs')
| -rw-r--r-- | src/libstd/map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/map.rs b/src/libstd/map.rs index 8a2089c6f2b..cc88a91bcf2 100644 --- a/src/libstd/map.rs +++ b/src/libstd/map.rs @@ -310,8 +310,8 @@ fn str_hash<V: copy>() -> hashmap<str, V> { } /// Construct a hashmap for boxed string keys -fn box_str_hash<V: copy>() -> hashmap<@str, V> { - ret hashmap(|x: @str| str::hash(*x), |x,y| str::eq(*x,*y)); +fn box_str_hash<V: copy>() -> hashmap<@str/~, V> { + ret hashmap(|x: @str/~| str::hash(*x), |x,y| str::eq(*x,*y)); } /// Construct a hashmap for byte string keys |
