about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2016-01-25 00:56:34 +0100
committerSimon Sapin <simon.sapin@exyr.org>2016-01-26 14:23:38 +0100
commit70d4f263ba3d1db40f246ebe600992abb1ac85be (patch)
treed26c0bf03e37e2c87649e820d0e142338ed49f00 /src/libstd/sys/unix/stack_overflow.rs
parent1972c50b9eaab85742c0a6f5ea7eade5eb0d63fc (diff)
downloadrust-70d4f263ba3d1db40f246ebe600992abb1ac85be.tar.gz
rust-70d4f263ba3d1db40f246ebe600992abb1ac85be.zip
RangeFrom::step_by docs: fix example
The previous example did not do what its description said. In it panicked on integer overflow in debug mode, and went into an infinite loop in release mode (wrapping back to 0 after printing 254).
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions