diff options
| author | varkor <github@varkor.com> | 2018-01-18 15:28:10 +0000 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-01-18 15:28:10 +0000 |
| commit | fdfb964a821a2f61353146629977eecafc0aa947 (patch) | |
| tree | a87f92c1bb95bbba93736173c3f83c35e078314e /src/rustllvm/RustWrapper.cpp | |
| parent | da569fa9ddf8369a9809184d43c600dc06bd4b4d (diff) | |
| download | rust-fdfb964a821a2f61353146629977eecafc0aa947.tar.gz rust-fdfb964a821a2f61353146629977eecafc0aa947.zip | |
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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
