Fix variable does not need to be mutable warning

This commit is contained in:
Matthew Rasmus 2015-01-07 19:05:40 -08:00
parent c9325c9711
commit 01d4739d16
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}