mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix a few problems in components/script
(#31961)
* fixed various clippy warnings * fixed various clippy warnings
This commit is contained in:
parent
52a74287fc
commit
fd8235e409
2 changed files with 2 additions and 2 deletions
|
@ -1183,7 +1183,7 @@ impl HTMLInputElementMethods for HTMLInputElement {
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-input-files
|
||||
fn GetFiles(&self) -> Option<DomRoot<FileList>> {
|
||||
self.filelist.get().as_ref().map(|fl| fl.clone())
|
||||
self.filelist.get().as_ref().cloned()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-input-defaultchecked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue