mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
clippy: Fix op_ref warnings (#31900)
This commit is contained in:
parent
773e881971
commit
da518823ff
8 changed files with 15 additions and 19 deletions
|
@ -2018,7 +2018,7 @@ impl Node {
|
|||
suppress_observers: SuppressObserver,
|
||||
) {
|
||||
node.owner_doc().add_script_and_layout_blocker();
|
||||
debug_assert!(&*node.owner_doc() == &*parent.owner_doc());
|
||||
debug_assert!(*node.owner_doc() == *parent.owner_doc());
|
||||
debug_assert!(child.map_or(true, |child| Some(parent) ==
|
||||
child.GetParentNode().as_deref()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue