mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
Remove now-redundant clone()
This commit is contained in:
parent
9f76252928
commit
c4f5ffb114
1 changed files with 2 additions and 2 deletions
|
@ -379,8 +379,8 @@ impl IOCompositor {
|
||||||
let first_child = self.root_layer.first_child.borrow().clone();
|
let first_child = self.root_layer.first_child.borrow().clone();
|
||||||
match first_child {
|
match first_child {
|
||||||
None => {}
|
None => {}
|
||||||
Some(ref old_layer) => {
|
Some(old_layer) => {
|
||||||
ContainerLayer::remove_child(self.root_layer.clone(), old_layer.clone())
|
ContainerLayer::remove_child(self.root_layer.clone(), old_layer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue