Skip to content

Commit a5bd11c

Browse files
tfuxuranfdev
authored andcommitted
fix: remove redundant clone
1 parent 70ec591 commit a5bd11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ impl Window {
424424
.action_name("win.zoom-in")
425425
.build(),
426426
);
427-
menu_popover.add_child(&zoom_box.clone(), "zoom");
427+
menu_popover.add_child(&zoom_box, "zoom");
428428
}
429429
fn setup_history_button<
430430
F: for<'a> Fn(

0 commit comments

Comments
 (0)