diff options
| author | Jim Turner <git@turner.link> | 2021-03-01 16:09:41 -0500 |
|---|---|---|
| committer | Jim Turner <git@turner.link> | 2021-03-01 17:13:50 -0500 |
| commit | 9278b4c67284db95990673f26934b9d1d5af2e77 (patch) | |
| tree | fad799a366a1e07bac984862f60fa408bbb4ffdd /src/test/codegen/src-hash-algorithm | |
| parent | 5233edcf1c7ee70ac25e4ec1115c3546f53d8a2d (diff) | |
| download | rust-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
