From 8d34aacb3b11e2011f03c91e6bc5a134e54ab36e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 24 Feb 2018 20:50:19 +0100 Subject: [PATCH] style: Remove some useless explicit dereferencing. --- components/style/sharing/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/sharing/mod.rs b/components/style/sharing/mod.rs index 4220d88fa0e..ab667795a3b 100644 --- a/components/style/sharing/mod.rs +++ b/components/style/sharing/mod.rs @@ -676,12 +676,12 @@ impl StyleSharingCache { 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; }