/enum-iter

A toy project for learning Macros 1.1

Primary LanguageRust

This is just a toy project for learning Macros 1.1. Here we create a small prodcedural macro that will derive an iterator that spans the variants of an enum. To run, simply clone the repository and execute

cargo run