Skip to content

Commit

Permalink
add derive Eq for MenuResponse to pass Format + check + test
Browse files Browse the repository at this point in the history
  • Loading branch information
sor-ca committed May 30, 2024
1 parent 1195457 commit 8c695c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ impl MenuRoot {
}
}

#[derive(Copy, Clone, PartialEq)]
#[derive(Copy, Clone, PartialEq, Eq)]
pub enum MenuResponse {
Close,
Stay,
Expand Down

0 comments on commit 8c695c2

Please sign in to comment.