mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix some "unnecessary parentheses" warnings
This commit is contained in:
parent
6e3fba97bd
commit
897a5b39c5
8 changed files with 9 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue