Hacker News new | ask | show | jobs
by fluffything 2388 days ago
If you wrap around you get implementation defined behavior, which can be chosen to either panic!, or wrap-around. In release, the default is wrap-around, but you can set it to panic.