mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
clippy: Fix iter_cloned_collect warning (#32053)
This commit is contained in:
parent
b3d9924396
commit
9db9dddb88
1 changed files with 1 additions and 5 deletions
|
@ -51,10 +51,6 @@ impl DOMStringMapMethods for DOMStringMap {
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#the-domstringmap-interface:supported-property-names
|
||||
fn SupportedPropertyNames(&self) -> Vec<DOMString> {
|
||||
self.element
|
||||
.supported_prop_names_custom_attr()
|
||||
.iter()
|
||||
.cloned()
|
||||
.collect()
|
||||
self.element.supported_prop_names_custom_attr().to_vec()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue