• B
    std::iterator: Use ExactSize, inheriting DoubleEndedIterator · 35040dfc
    blake2-ppc 提交于
    Address discussion with acrichto; inherit DoubleEndedIterator so that
    `.rposition()` can be a default method, and that the nische of the trait
    is clear. Use assertions when using `.size_hint()` in reverse enumerate
    and `.rposition()`
    35040dfc
prelude.rs 3.6 KB