mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Make some locals immutable.
This commit is contained in:
parent
239fa77dd5
commit
bb0efdd5a2
2 changed files with 4 additions and 4 deletions
|
@ -1241,7 +1241,7 @@ impl Node {
|
|||
clone_children: CloneChildrenFlag) -> Temporary<Node> {
|
||||
|
||||
// Step 1.
|
||||
let mut document = match maybe_doc {
|
||||
let document = match maybe_doc {
|
||||
Some(doc) => JS::from_rooted(doc).root(),
|
||||
None => node.owner_doc().root()
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue