Closed RalfJung closed 1 week ago
The standard library now contains functions for "strict" arithmetic, where overflow is guaranteed to panic. We should use that to replace all the checked_add(...).unwrap() etc in the Miri codebase, hopefully making the code a bit more readable.
checked_add(...).unwrap()
The standard library now contains functions for "strict" arithmetic, where overflow is guaranteed to panic. We should use that to replace all the
checked_add(...).unwrap()
etc in the Miri codebase, hopefully making the code a bit more readable.