mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix some warnings in script.
This commit is contained in:
parent
fab8092581
commit
e921ce859e
12 changed files with 29 additions and 18 deletions
|
@ -332,7 +332,7 @@ impl<'a> HTMLFormElementHelpers for JSRef<'a, HTMLFormElement> {
|
|||
// TODO: Handle `dirnames` (needs directionality support)
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#the-directionality
|
||||
let mut ret: Vec<FormDatum> = data_set.collect();
|
||||
for mut datum in ret.iter_mut() {
|
||||
for datum in ret.iter_mut() {
|
||||
match datum.ty.as_slice() {
|
||||
"file" | "textarea" => (),
|
||||
_ => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue