Skip to content

Commit 18cee6f

Browse files
authored
docs: add missing reflect bound to example
1 parent cced399 commit 18cee6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/game_of_life.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ fn game_of_life_app(app: &mut App) -> &mut App {
141141
}
142142

143143
#[derive(Debug, Default, Clone, Reflect, Component)]
144-
#[reflect(Component)]
144+
#[reflect(Component, Default)]
145145
pub struct LifeState {
146146
pub cells: Vec<u8>,
147147
}

0 commit comments

Comments
 (0)