Make overflow behaviour more obvious in the iterator module of `libcore`
Explicitely spell out behaviour on overflow for `usize`-returning iterator functions. Mention that panics are guaranteed if debug assertions are active, otherwise a wrong result might be returned.
Showing
想要评论请 注册 或 登录