about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorJim Turner <git@turner.link>2021-03-01 16:09:41 -0500
committerJim Turner <git@turner.link>2021-03-01 17:13:50 -0500
commit9278b4c67284db95990673f26934b9d1d5af2e77 (patch)
treefad799a366a1e07bac984862f60fa408bbb4ffdd /src/test/codegen/src-hash-algorithm
parent5233edcf1c7ee70ac25e4ec1115c3546f53d8a2d (diff)
downloadrust-9278b4c67284db95990673f26934b9d1d5af2e77.tar.gz
rust-9278b4c67284db95990673f26934b9d1d5af2e77.zip
Document panicking cases for integer division
The panic on division by zero is expected, but the panic on overflow
is somewhat surprising (since most arithmetic operations panic on
overflow only when `debug_assertions` is enabled). As a result, it's
helpful to document this behavior.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions