mirror of
https://github.com/servo/servo.git
synced 2025-06-15 20:04:28 +00:00
Remove needless mutabilities from script crate.
This commit is contained in:
parent
7fcade294c
commit
975fee82da
9 changed files with 19 additions and 19 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue