Update Rust to commit 1702024

This commit is contained in:
Brian J. Burg 2012-11-08 16:54:11 -08:00
parent 577303514d
commit 1339163907
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ against a released version of Rust will not work, nor will the Rust
'master' branch. The commit below will *probably* work. If it does not
then the topic in #servo might know better.
* Last known-good Rust commit: 13c01dd
* Last known-good Rust commit: 17020244e4
[rust]: http://www.rust-lang.org

View file

@ -55,8 +55,8 @@ fn jsval_to_str(cx: *JSContext, v: JSVal) -> Result<~str, ()> {
}
}
unsafe fn domstring_to_jsval(cx: *JSContext, str: &DOMString) -> JSVal {
match *str {
unsafe fn domstring_to_jsval(cx: *JSContext, string: &DOMString) -> JSVal {
match *string {
null_string => {
JSVAL_NULL
}