Fixed syntax by changing alt to match

This commit is contained in:
Margaret Meyerhofer 2012-08-08 13:40:19 -07:00
parent 0b796c410c
commit 7e8d0949d0
36 changed files with 145 additions and 147 deletions

View file

@ -54,7 +54,7 @@ fn jsval_to_str(cx: *JSContext, v: jsval) -> result<~str, ()> {
}
unsafe fn domstring_to_jsval(cx: *JSContext, str: DOMString) -> jsval {
alt str {
match str {
null_string => {
JSVAL_NULL
}