summaryrefslogtreecommitdiffstats
path: root/examples/game_of_life
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-01-19 20:20:13 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-19 20:20:13 +0100
commit8acf7c41fc11d95056e6a4823b616afbcb2b99d0 (patch)
treec66a95fc0a18b602cbe7bd42c0398f7075d8163a /examples/game_of_life
parente80c7dff8d1c6ac40084bbaaece57844443c807c (diff)
downloadiced-8acf7c41fc11d95056e6a4823b616afbcb2b99d0.tar.gz
iced-8acf7c41fc11d95056e6a4823b616afbcb2b99d0.tar.bz2
iced-8acf7c41fc11d95056e6a4823b616afbcb2b99d0.zip
Fix `#[default]` in `preset` for `game_of_life` example
Diffstat (limited to 'examples/game_of_life')
-rw-r--r--examples/game_of_life/src/preset.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/game_of_life/src/preset.rs b/examples/game_of_life/src/preset.rs
index fef10a97..552527b1 100644
--- a/examples/game_of_life/src/preset.rs
+++ b/examples/game_of_life/src/preset.rs
@@ -1,7 +1,7 @@
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
pub enum Preset {
Custom,
- [default]
+ #[default]
Xkcd,
Glider,
SmallExploder,