Skip to content

Commit 3a4771b

Browse files
authored
fix: Impl Clone and PartialEq on WindowEvent (#618)
1 parent 2e85b46 commit 3a4771b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platforms/winit/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub struct Event {
7171
pub window_event: WindowEvent,
7272
}
7373

74-
#[derive(Debug)]
74+
#[derive(Clone, Debug, PartialEq)]
7575
pub enum WindowEvent {
7676
InitialTreeRequested,
7777
ActionRequested(ActionRequest),

0 commit comments

Comments
 (0)