Fix #[default] in preset for game_of_life example

This commit is contained in:
Héctor Ramón 2023-01-19 20:20:13 +01:00 committed by GitHub
parent e80c7dff8d
commit 8acf7c41fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
pub enum Preset {
Custom,
[default]
#[default]
Xkcd,
Glider,
SmallExploder,