Skip to content

Commit ef77ff2

Browse files
committed
Add missing Debug derive to vec::IntoIter
1 parent 6b17767 commit ef77ff2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Changed
1111

12+
- Add missing `Debug` derive to `vec::IntoIter`.
1213
- `bytes::BufMut` is now implemented on `VecInner`.
1314
- Removed generic from `history_buf::OldestOrdered`.
1415
- Made `LenType` opt-in.

src/vec/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,6 +1444,7 @@ impl<T, LenT: LenType, const N: usize> FromIterator<T> for Vec<T, N, LenT> {
14441444
/// An iterator that moves out of an [`Vec`][`Vec`].
14451445
///
14461446
/// This struct is created by calling the `into_iter` method on [`Vec`][`Vec`].
1447+
#[derive(Debug)]
14471448
pub struct IntoIter<T, const N: usize, LenT: LenType> {
14481449
vec: Vec<T, N, LenT>,
14491450
next: LenT,

0 commit comments

Comments
 (0)