1. 03 3月, 2018 2 次提交
    • U
      c7c23fe9
    • U
      core: Stabilize FusedIterator · bc651cac
      Ulrik Sverdrup 提交于
      FusedIterator is a marker trait that promises that the implementing
      iterator continues to return `None` from `.next()` once it has returned
      `None` once (and/or `.next_back()`, if implemented).
      
      The effects of FusedIterator are already widely available through
      `.fuse()`, but with stable `FusedIterator`, stable Rust users can
      implement this trait for their iterators when appropriate.
      bc651cac
  2. 17 2月, 2018 1 次提交
  3. 13 2月, 2018 3 次提交
  4. 12 2月, 2018 4 次提交
  5. 04 2月, 2018 1 次提交
  6. 14 3月, 2017 1 次提交
  7. 31 12月, 2016 1 次提交
  8. 25 8月, 2016 1 次提交
  9. 19 8月, 2016 1 次提交
    • S
      Add a FusedIterator trait. · de91872a
      Steven Allen 提交于
      This trait can be used to avoid the overhead of a fuse wrapper when an iterator
      is already well-behaved.
      
      Conforming to: RFC 1581
      Closes: #35602
      de91872a
  10. 19 4月, 2016 1 次提交
    • U
      Split core::iter module implementation into parts · 84654fa4
      Ulrik Sverdrup 提交于
      split iter.rs into a directory of (implementation private) modules.
      
      + mod Adaptor structs
        - Private fields need to be available both for them and Iterator
      + iterator (Iterator trait)
      + traits (FromIterator, traits but Iterator itself)
      + range (range related)
      + sources (Repeat, Once, Empty)
      84654fa4