mirror of
https://github.com/servo/servo.git
synced 2025-07-25 08:10:21 +01:00
fixed fmt
This commit is contained in:
parent
096f3d73be
commit
f7d4a37f78
2 changed files with 7 additions and 3 deletions
|
@ -2977,10 +2977,14 @@ class CGCollectJSONAttributesMethod(CGAbstractMethod):
|
|||
ret += fill(
|
||||
"""
|
||||
let conditions = ${conditions};
|
||||
if !conditions.iter().any(|c| c.is_satisfied(SafeJSContext::from_ptr(cx), HandleObject::from_raw(obj), HandleObject::from_raw(obj))) {
|
||||
if !conditions.iter().any(|c|
|
||||
c.is_satisfied(
|
||||
SafeJSContext::from_ptr(cx),
|
||||
HandleObject::from_raw(obj),
|
||||
HandleObject::from_raw(obj))) {
|
||||
return false;
|
||||
}
|
||||
rooted!(in(cx) let mut temp = UndefinedValue());
|
||||
rooted!(in(cx) let mut temp = UndefinedValue());
|
||||
if !get_${name}(cx, obj, this, JSJitGetterCallArgs { _base: temp.handle_mut().into() }) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue