about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2015-03-31 12:21:12 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2015-05-06 17:17:48 +0200
commit29d7fed994bb35c1cf7e686a3fe967ddff734d01 (patch)
tree75aa7ed02533be3382defa41dfdcd87d5a1f7c73 /src/libstd
parent6afa669524f550744834b5cd031dc3918e65905f (diff)
downloadrust-29d7fed994bb35c1cf7e686a3fe967ddff734d01.tar.gz
rust-29d7fed994bb35c1cf7e686a3fe967ddff734d01.zip
Make overflow behaviour more obvious in the iterator module of `libcore`
Explicitely spell out behaviour on overflow for `usize`-returning iterator
functions.

Mention that panics are guaranteed if debug assertions are active, otherwise a
wrong result might be returned.
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions