mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fixed syntax by changing alt to match
This commit is contained in:
parent
0b796c410c
commit
7e8d0949d0
36 changed files with 145 additions and 147 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue