about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-10-18 13:48:25 -0700
committerGitHub <noreply@github.com>2019-10-18 13:48:25 -0700
commitea5a1843833a4c7720d3becfe79853a32f8de60b (patch)
treea2ff18503fd9d58c776144da6c49225a6406466c /src/libsyntax
parente27e39b7b20c4e4962a5ba0ab94dc68c6a3ed30c (diff)
parent83e97c6ac1b722c1b55fdf9d6378f87d9e0cdbdd (diff)
downloadrust-ea5a1843833a4c7720d3becfe79853a32f8de60b.tar.gz
rust-ea5a1843833a4c7720d3becfe79853a32f8de60b.zip
Rollup merge of #65496 - tspiteri:euc-div-panic, r=KodrAus
properly document panics in div_euclid and rem_euclid

For signed numbers, document that `div_euclid` and `rem_euclid` panic not just when `rhs` is 0, but also when the division overflows.

For unsigned numbers, document that `div_euclid` and `rem_euclid` panic when `rhs` is 0.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions