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
|
@ -186,7 +186,7 @@ impl PerformanceObserverMethods for PerformanceObserver {
|
|||
let entry_types = entry_types
|
||||
.iter()
|
||||
.filter(|e| VALID_ENTRY_TYPES.contains(&e.as_ref()))
|
||||
.map(|e| e.clone())
|
||||
.cloned()
|
||||
.collect::<Vec<DOMString>>();
|
||||
|
||||
// Step 6.3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue