Remove needless mutabilities from script crate.

This commit is contained in:
Tetsuharu OHZEKI 2014-06-22 20:53:07 +09:00
parent 7fcade294c
commit 975fee82da
9 changed files with 19 additions and 19 deletions

View file

@ -379,7 +379,7 @@ pub fn parse_html(page: &Page,
SvgNs => namespace::SVG,
ns => fail!("Not expecting namespace {:?}", ns),
};
let mut element: Root<Element> = build_element_from_tag(tag.name.clone(), namespace, *tmp).root();
let element: Root<Element> = build_element_from_tag(tag.name.clone(), namespace, *tmp).root();
debug!("-- attach attrs");
for attr in tag.attributes.iter() {