Skip to content

Commit 7aad7a4

Browse files
authored
Remove the ability of the go! macro to create enum variants (#741)
This is incredibly confusing when reading the code as it is hard to see that `go! to Enum Variant1 VariantA` constructs `Enum(Variant1(VariantA))`. This kind of non-standard Rust makes the code hard to read by new contributors. In addition, constructing the variants like this interferes with our ability to make changes using `rust-analyzer` which is a very useful tool. This change removes this feature in favor of just writing out the enum variant directly and starts using the fully qualified name of the state enum in more places. Signed-off-by: Martin Robinson <martin@abandonedwig.info>
1 parent a32b0d2 commit 7aad7a4

2 files changed

Lines changed: 318 additions & 301 deletions

File tree

0 commit comments

Comments
 (0)