mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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;
|
||||
}
|
||||
|
||||
if *target.local_name() != *candidate.element.local_name() {
|
||||
if target.local_name() != candidate.element.local_name() {
|
||||
trace!("Miss: Local Name");
|
||||
return None;
|
||||
}
|
||||
|
||||
if *target.namespace() != *candidate.element.namespace() {
|
||||
if target.namespace() != candidate.element.namespace() {
|
||||
trace!("Miss: Namespace");
|
||||
return None;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue