Closed
Description
IntoIter and ArrayVec need to be poisoned to prevent dropping before being drained; otherwise, if one of the elements panics on drop, it will be dropped twice. I've worked on a couple of solutions but they all have design tradeoffs so I figured I'd just let you fix it.
Drain doesn't have this issue because the ArrayVec's length is set to 0 when the Drain is initialized.
Metadata
Metadata
Assignees
Labels
No labels