mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix dereferenced warnings (#31770)
This commit is contained in:
parent
0cf2caba06
commit
02a0cdd6fa
43 changed files with 92 additions and 96 deletions
|
@ -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(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue