Skip to content

Commit

Permalink
docs: add missing reflect bound to example
Browse files Browse the repository at this point in the history
  • Loading branch information
makspll authored Feb 21, 2025
1 parent cced399 commit 18cee6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/game_of_life.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ fn game_of_life_app(app: &mut App) -> &mut App {
}

#[derive(Debug, Default, Clone, Reflect, Component)]
#[reflect(Component)]
#[reflect(Component, Default)]
pub struct LifeState {
pub cells: Vec<u8>,
}
Expand Down

0 comments on commit 18cee6f

Please sign in to comment.