rust/src/libcore/iter
kennytm 4a827188cc
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.
2018-02-11 03:39:53 +08:00
..
iterator.rs Rollup merge of #47547 - varkor:infinite-iterators-warning-doc, r=frewsxcv 2018-02-11 03:39:53 +08:00
mod.rs Rollup merge of #47547 - varkor:infinite-iterators-warning-doc, r=frewsxcv 2018-02-11 03:39:53 +08:00
range.rs Auto merge of #48057 - scottmcm:less-match-more-compare, r=dtolnay 2018-02-08 06:38:30 +00:00
sources.rs Implement TrustedLen for Take<Repeat> and Take<RangeFrom> 2018-02-04 16:09:32 +01:00
traits.rs Document TrustedLen guarantees more explicitly 2018-02-04 16:09:32 +01:00