mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix variable does not need to be mutable
warning
This commit is contained in:
parent
c9325c9711
commit
01d4739d16
2 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ impl<'a> HTMLFormElementHelpers for JSRef<'a, HTMLFormElement> {
|
|||
let node: JSRef<Node> = NodeCast::from_ref(self);
|
||||
// TODO: This is an incorrect way of getting controls owned
|
||||
// by the form, but good enough until html5ever lands
|
||||
let mut data_set = node.traverse_preorder().filter_map(|child| {
|
||||
let data_set = node.traverse_preorder().filter_map(|child| {
|
||||
if child.get_disabled_state() {
|
||||
return None;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue