oldmoe / litestack

MIT License
1.02k stars 56 forks source link

Use pattern matching in Litescheduler.spawn #78

Closed kaspth closed 6 months ago

kaspth commented 9 months ago

Ruby's case/in statements are exhaustive, so they'll raise in case there's an unknown value passed in. So we can upgrade the comment to a guarantee, and save a few conceptual bytes per line.