rosefromthedead / effing-mad

Algebraic effects for Rust
586 stars 20 forks source link

Unreachable cases cleanup #1

Closed max-heller closed 2 years ago

max-heller commented 2 years ago

Replaced some unreachable panics with uninhabited-enum matches. Nifty project!

rosefromthedead commented 2 years ago

Thanks! I reworded the commit message and variable names for some clarity, and sadly that confuses github, but the spirit of the patch is in there :)