aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-06-22 20:53:07 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-06-22 21:22:58 +0900
commit975fee82dad0e5610a4adbac44f6e831416c7971 (patch)
tree9291e07cecae094d221fca845800b8f70b26207d /src/components/script/html/hubbub_html_parser.rs
parent7fcade294c095e6ed971a9d60a4a31461a3e5337 (diff)
downloadservo-975fee82dad0e5610a4adbac44f6e831416c7971.tar.gz
servo-975fee82dad0e5610a4adbac44f6e831416c7971.zip
Remove needless mutabilities from script crate.
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index de396368206..baacfcef52c 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -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() {