Permalink
Browse files

Fix build break from hashmap->HashMap

  • Loading branch information...
1 parent 1b97683 commit c74cefb9dc45f577b6f174c6a7fe83bfcf3f150a Brian J. Burg committed Sep 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 rust.rs
View
6 rust.rs
@@ -2,7 +2,7 @@
use bg = jsapi::bindgen;
use libc::types::os::arch::c95::{size_t, c_uint};
-use std::map::{hashmap, str_hash};
+use std::map::{HashMap, str_hash};
export rt;
export cx;
@@ -48,7 +48,7 @@ type cx = @cx_rsrc;
struct cx_rsrc {
ptr : *JSContext,
rt: rt,
- classes: hashmap<~str, @JSClass>,
+ classes: HashMap<~str, @JSClass>,
drop {
JS_DestroyContext(self.ptr);
@@ -176,7 +176,7 @@ type bare_compartment = {
mut global_props: ~[@~[JSPropertySpec]],
global_class: @JSClass,
global_obj: jsobj,
- global_protos: hashmap<~str, jsobj>
+ global_protos: HashMap<~str, jsobj>
};
trait methods {

0 comments on commit c74cefb

Please sign in to comment.