clippy: Fix dereferenced warnings (#31770)

This commit is contained in:
Oluwatobi Sofela 2024-03-20 09:07:22 +01:00 committed by GitHub
parent 0cf2caba06
commit 02a0cdd6fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 92 additions and 96 deletions

View file

@ -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(())