Skip to content

Commit

Permalink
chore: coderabbit suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mettwasser committed Oct 27, 2024
1 parent bd85a76 commit 0189ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worldstate/models/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ macro_rules! enum_builder {
};

($(:$enum_doc:literal)? $enum_name:ident; $($(:$option_doc:literal)? $enum_option:ident $(= $enum_option_deserialize:literal)? $(: $enum_option_num_value:expr)?),*$(,)?) => {
#[derive(Debug, serde_repr::Deserialize_repr, PartialEq, PartialOrd, Clone)]
#[derive(Debug, serde_repr::Deserialize_repr, PartialEq, PartialOrd, Clone, Eq, Copy)]
#[repr(u8)]
$(#[doc = $enum_doc])?
pub enum $enum_name {
Expand Down

0 comments on commit 0189ecc

Please sign in to comment.