]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #35707 - frewsxcv:vec-into-iter-debug, r=alexcrichton
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Wed, 17 Aug 2016 13:25:26 +0000 (06:25 -0700)
committerGitHub <noreply@github.com>
Wed, 17 Aug 2016 13:25:26 +0000 (06:25 -0700)
commit3dd060f065e9fe586c67c35248145d45761f7123
treebabf45f6cd3a3a22c50ae79ec2e295e9afb51012
parentc1e9ea0b2d3d192407ec03731cbaf6e2ddd818b7
parentbc52bdcedcb34e303d2a3a450b541dfbf002281e
Rollup merge of #35707 - frewsxcv:vec-into-iter-debug, r=alexcrichton

Implement `Debug` for `std::vec::IntoIter`.

Display all the remaining items of the iterator, similar to the `Debug`
implementation for `core::slice::Iter`:

https://github.com/rust-lang/rust/blob/f0bab98695f0a4877daabad9a5b0ba3e66121392/src/libcore/slice.rs#L930-L937

Using the `as_slice` method that was added in:

https://github.com/rust-lang/rust/pull/35447