mirror of
https://github.com/servo/servo.git
synced 2025-10-06 03:29:25 +01:00
Remove unnecessary mutability.
This commit is contained in:
parent
17796725f4
commit
179582d939
3 changed files with 3 additions and 3 deletions
|
@ -722,7 +722,7 @@ impl ScriptTask {
|
|||
page.next_subpage_id.clone(),
|
||||
self.constellation_chan.clone());
|
||||
|
||||
let mut document = HTMLDocument::new(Some(window));
|
||||
let document = HTMLDocument::new(Some(window));
|
||||
|
||||
let HtmlParserResult {root, discovery_port, url: final_url} = html_parsing_result;
|
||||
document.set_root(root);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue