diff options
| author | Kevin Ballard <kevin@sb.org> | 2013-08-03 13:51:49 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2013-08-29 22:49:26 -0700 |
| commit | fb0b388804ec6b4535e73a890feda7372182486f (patch) | |
| tree | a8020a76bb4bd76303eb24e222d78874b803a18b /src/rustllvm/RustWrapper.cpp | |
| parent | 7c6c7519a75064d11f855de862bcdaddcbe5df4b (diff) | |
| download | rust-fb0b388804ec6b4535e73a890feda7372182486f.tar.gz rust-fb0b388804ec6b4535e73a890feda7372182486f.zip | |
Make the iterator protocol more explicit
Document the fact that the iterator protocol only defines behavior up until the first None is returned. After this point, iterators are free to behave how they wish. Add a new iterator adaptor Fuse<T> that modifies iterators to return None forever if they returned None once.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
