mirror of
https://github.com/servo/servo
synced 2026-04-28 02:19:14 +02:00
Fix some "unnecessary parentheses" warnings
This commit is contained in:
@@ -103,7 +103,7 @@ impl CSSRuleList {
|
||||
let parent_stylesheet = &*self.parent_stylesheet;
|
||||
let dom_rule = CSSRule::new_specific(&window, parent_stylesheet, new_rule);
|
||||
self.dom_rules.borrow_mut().insert(index, MutNullableDom::new(Some(&*dom_rule)));
|
||||
Ok((idx))
|
||||
Ok(idx)
|
||||
}
|
||||
|
||||
// In case of a keyframe rule, index must be valid.
|
||||
|
||||
Reference in New Issue
Block a user