aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performance.rs
diff options
context:
space:
mode:
authorOluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com>2024-03-20 09:07:22 +0100
committerGitHub <noreply@github.com>2024-03-20 08:07:22 +0000
commit02a0cdd6faf80b77c6b066120bc2927c963affe3 (patch)
treeabb409671c554c5c4d9678788388d51f6341688d /components/script/dom/performance.rs
parent0cf2caba06a78fe3695c46b468422e975f0bd187 (diff)
downloadservo-02a0cdd6faf80b77c6b066120bc2927c963affe3.tar.gz
servo-02a0cdd6faf80b77c6b066120bc2927c963affe3.zip
clippy: Fix dereferenced warnings (#31770)
Diffstat (limited to 'components/script/dom/performance.rs')
-rw-r--r--components/script/dom/performance.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/performance.rs b/components/script/dom/performance.rs
index 85b3f9800f3..cd378ed1bdc 100644
--- a/components/script/dom/performance.rs
+++ b/components/script/dom/performance.rs
@@ -469,7 +469,7 @@ impl PerformanceMethods for Performance {
// Steps 2 to 6.
let entry = PerformanceMark::new(&global, mark_name, self.now(), 0.);
// Steps 7 and 8.
- self.queue_entry(&entry.upcast::<PerformanceEntry>());
+ self.queue_entry(entry.upcast::<PerformanceEntry>());
// Step 9.
Ok(())
@@ -516,7 +516,7 @@ impl PerformanceMethods for Performance {
);
// Step 9 and 10.
- self.queue_entry(&entry.upcast::<PerformanceEntry>());
+ self.queue_entry(entry.upcast::<PerformanceEntry>());
// Step 11.
Ok(())