Permalink
Browse files

Update for language changes.

  • Loading branch information...
1 parent fb5f5a5 commit 04e000311bf499dc12e71c686b7b3cd02fc84515 @jdm jdm committed Dec 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rust.rs
View
@@ -136,7 +136,7 @@ impl cx {
fn lookup_class_name(s: ~str) -> @JSClass {
// FIXME: expect should really take a lambda...
let error_msg = fmt!("class %s not found in class table", s);
- option::expect(self.classes.find(move s), move error_msg)
+ option::expect(self.classes.find(move s), error_msg)
}
unsafe fn get_cx_private() -> *() {

0 comments on commit 04e0003

Please sign in to comment.