mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Untry script
This commit is contained in:
parent
a5bb55790f
commit
7af5a7fd54
36 changed files with 199 additions and 199 deletions
|
@ -69,7 +69,7 @@ impl<T, C> FromJSValConvertible for MozMap<T>
|
|||
return Err(());
|
||||
}
|
||||
|
||||
let property = match try!(T::from_jsval(cx, property.handle(), config.clone())) {
|
||||
let property = match T::from_jsval(cx, property.handle(), config.clone())? {
|
||||
ConversionResult::Success(property) => property,
|
||||
ConversionResult::Failure(message) => return Ok(ConversionResult::Failure(message)),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue