mirror of
https://github.com/servo/servo.git
synced 2025-10-13 23:10:20 +01:00
Remove unnecessary mutability.
This commit is contained in:
parent
17796725f4
commit
179582d939
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue