Skip to content

Commit 5203cd7

Browse files
committed
remove clone
1 parent de7da07 commit 5203cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

druid-shell/src/platform/gtk/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ impl WindowBuilder {
382382
state.request_animation.set(false);
383383
let vbox = state.window.get_children().first().unwrap().clone()
384384
.downcast::<gtk::Box>()
385-
.unwrap().clone();
385+
.unwrap();
386386
let first_child = vbox.get_children().last().unwrap().clone();
387387
if first_child.is::<gtk::DrawingArea>() {
388388
first_child.queue_draw();

0 commit comments

Comments
 (0)