about summary refs log tree commit diff
path: root/src/libcore/iter_private.rs
AgeCommit message (Collapse)AuthorLines
2019-12-21Remove iter_private.rsMasaki Hara-17/+0
The contents of this file have been moved in #56932 (520e8b0) and the file should have been removed as well.
2018-12-25Remove licensesMark Rousskov-11/+0
2017-03-22Various fixes to wording consistency in the docsStjepan Glavina-1/+1
2016-10-17Expand .zip() specialization to .map() and .cloned()Ulrik Sverdrup-1/+4
Implement .zip() specialization for Map and Cloned. The crucial thing for transparent specialization is that we want to preserve the potential side effects. The simplest example is that in this code snippet: `(0..6).map(f).zip((0..4).map(g)).count()` `f` will be called five times, and `g` four times. The last time for `f` is when the other iterator is at its end, so this element is unused. This side effect can be preserved without disturbing code generation for simple uses of `.map()`. The `Zip::next_back()` case is even more complicated, unfortunately.
2016-08-24Use `#[prelude_import]` in `libcore`.Jeffrey Seyfried-2/+0
2016-06-14specialize zip: Introduce TrustedRandomAccess traitUlrik Sverdrup-0/+27