mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fixed the .clone() warnings. (#31819)
This commit is contained in:
parent
95e69fe4ff
commit
9b26dca141
28 changed files with 76 additions and 93 deletions
|
@ -80,7 +80,7 @@ impl PerformanceEntryList {
|
|||
.as_ref()
|
||||
.map_or(true, |type_| *e.entry_type() == *type_)
|
||||
})
|
||||
.map(|e| e.clone())
|
||||
.cloned()
|
||||
.collect::<Vec<DomRoot<PerformanceEntry>>>();
|
||||
res.sort_by(|a, b| {
|
||||
a.start_time()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue