diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-06-22 20:53:07 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-06-22 21:22:58 +0900 |
commit | 975fee82dad0e5610a4adbac44f6e831416c7971 (patch) | |
tree | 9291e07cecae094d221fca845800b8f70b26207d /src/components/script/html/hubbub_html_parser.rs | |
parent | 7fcade294c095e6ed971a9d60a4a31461a3e5337 (diff) | |
download | servo-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.rs | 2 |
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() { |