about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-01-18 15:28:10 +0000
committervarkor <github@varkor.com>2018-01-18 15:28:10 +0000
commitfdfb964a821a2f61353146629977eecafc0aa947 (patch)
treea87f92c1bb95bbba93736173c3f83c35e078314e /src/rustllvm/RustWrapper.cpp
parentda569fa9ddf8369a9809184d43c600dc06bd4b4d (diff)
downloadrust-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