Permalink
Browse files

s/class/struct/g

  • Loading branch information...
1 parent 9a9d8aa commit 8fa47b7a1dcc4e13f0f5a1e978cf332a4e3d0189 @jdm jdm committed Aug 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 rust.rs
View
@@ -14,7 +14,7 @@ export compartment;
type rt = @rt_rsrc;
-class rt_rsrc {
+struct rt_rsrc {
let ptr : *JSRuntime;
new(p : {ptr: *JSRuntime}) {
self.ptr = p.ptr;
@@ -40,7 +40,7 @@ impl rt {
type cx = @cx_rsrc;
-class cx_rsrc {
+struct cx_rsrc {
let ptr : *JSContext;
let rt: rt;
let mut classes: ~[@JSClass];
@@ -213,7 +213,7 @@ impl bare_compartment : methods {
type jsobj = @jsobj_rsrc;
-class jsobj_rsrc {
+struct jsobj_rsrc {
let cx : cx;
let cxptr : *JSContext;
let ptr : *JSObject;

0 comments on commit 8fa47b7

Please sign in to comment.