about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-02-11 03:39:53 +0800
committerkennytm <kennytm@gmail.com>2018-02-11 03:39:53 +0800
commit4a827188cc46d47f75c72dba3a268d5c9f206582 (patch)
tree60faf17ac0f398109b52b4a99f9094731b7f7bb3 /src/test/incremental/thinlto
parentb37c60276a8a679683f1ba717d7c72f83167fb80 (diff)
parentf129374d11d51ca23d85bc678fbc1ed4e7082ab1 (diff)
downloadrust-4a827188cc46d47f75c72dba3a268d5c9f206582.tar.gz
rust-4a827188cc46d47f75c72dba3a268d5c9f206582.zip
Rollup merge of #47547 - varkor:infinite-iterators-warning-doc, r=frewsxcv
Document the behaviour of infinite iterators on potentially-computable methods

It’s not entirely clear from the current documentation what behaviour
calling a method such as `min` on an infinite iterator like `RangeFrom`
is. One might expect this to terminate, but in fact, for infinite
iterators, `min` is always nonterminating (at least in the standard
library). This adds a quick note about this behaviour for clarification.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions