Skip to content

Commit

Permalink
fix nested into
Browse files Browse the repository at this point in the history
  • Loading branch information
TOwInOK committed Oct 26, 2024
1 parent 36d86cd commit e06ca64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gen_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ macro_rules! gen_enum {
fn from(value: &$name) -> Self {
match value {
$(
$name::$variant(_) => stringify!($variant),
$name::$variant(value) => value.into(),
)*
}
}
Expand Down

0 comments on commit e06ca64

Please sign in to comment.