Affected versions of the crate incremented the current index of the drain filter
iterator before calling the predicate function self.pred
.
If the predicate function panics, it is possible for the last element in the iterator to be dropped twice.
{ "license": "CC0-1.0" }