Remove now-redundant clone()

This commit is contained in:
Matt Brubeck 2014-04-28 11:01:08 -07:00
parent 9f76252928
commit c4f5ffb114

View file

@ -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)
} }
} }