Remove unnecessary mutability.

This commit is contained in:
Ms2ger 2013-10-06 09:15:38 +02:00
parent 17796725f4
commit 179582d939
3 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ impl DOMParser {
ty: DOMParserBinding::SupportedType)
-> Fallible<AbstractDocument> {
let cx = (*self.owner.page).js_info.get_ref().js_compartment.cx.ptr;
let mut document = match ty {
let document = match ty {
Text_html => {
HTMLDocument::new(None)
}