Skip to content

Commit

Permalink
[#36] Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
Orchaldir committed Sep 11, 2023
1 parent 9e81fa2 commit fea1b4b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rpg_tools_core/examples/parser_macro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ pub enum SimpleEnum {
B,
}

#[derive(ui, Debug, Default)]
pub struct Inner {
pub c: u32,
}

#[derive(ui, Debug, Default)]
pub enum ComplexEnum {
#[default]
C,
D(u32),
D(Inner),
E {
d: u32,
e: u32,
},
}

#[derive(ui, Debug, Default)]
pub struct Inner {
pub c: u32,
}

#[derive(ui, Debug, Default)]
pub struct Test {
pub a: u32,
Expand Down

0 comments on commit fea1b4b

Please sign in to comment.