about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-06 20:33:10 +0000
committerbors <bors@rust-lang.org>2015-05-06 20:33:10 +0000
commit6c9f8408d5cd07f3fd3b5136b4373dadd0edbf07 (patch)
tree45ad34bf2c3fac2d6534fac51cf7bda2a3dfa131 /src/libstd/sync
parente6378cbda39521fa3b9a457b5ed36ecefe37f932 (diff)
parent29d7fed994bb35c1cf7e686a3fe967ddff734d01 (diff)
downloadrust-6c9f8408d5cd07f3fd3b5136b4373dadd0edbf07.tar.gz
rust-6c9f8408d5cd07f3fd3b5136b4373dadd0edbf07.zip
Auto merge of #23894 - tbu-:pr_iter_length_position, r=pnkfelix
Added documentation of the panicking overflow to the `count` and `position`
methods of `IteratorExt`, also make them more obvious in the code.

Also mention that the `Iterator::next` method of the struct returned by
`IteratorExt::enumerate` can panic due to overflow.
Diffstat (limited to 'src/libstd/sync')
0 files changed, 0 insertions, 0 deletions