Hacker News new | ask | show | jobs
by urschrei 3469 days ago
You've qualified your approach in various ways downthread, but you can avoid ifs far more easily with two simple enums and two match statements. https://github.com/urschrei/rust_fizzbuzz/blob/by_reference/...
1 comments

I also wanted to avoid match expressions as well