Hacker News new | ask | show | jobs
by cbarrick 221 days ago
> why use `x.wrapping_sub()` instead of regular old `x - 1`?

Because I coded it to start at x=0, which will underflow and will panic in debug mode.