mirror of
https://github.com/servo/servo.git
synced 2025-09-20 03:40:09 +01:00
style: Remove some useless explicit dereferencing.
This commit is contained in:
parent
adf1c9fcfd
commit
8d34aacb3b
1 changed files with 2 additions and 2 deletions
|
@ -676,12 +676,12 @@ impl<E: TElement> StyleSharingCache<E> {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
if *target.local_name() != *candidate.element.local_name() {
|
if target.local_name() != candidate.element.local_name() {
|
||||||
trace!("Miss: Local Name");
|
trace!("Miss: Local Name");
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
if *target.namespace() != *candidate.element.namespace() {
|
if target.namespace() != candidate.element.namespace() {
|
||||||
trace!("Miss: Namespace");
|
trace!("Miss: Namespace");
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue