use Cell;
/// A value that records its own destruction in a shared counter.
///
/// The consuming `IntoIterator` implementations move elements out of
/// `MaybeUninit`-backed storage with unsafe code, so these tests use the
/// counter to assert that every element is either yielded or dropped exactly
/// once, with no leaks and no double frees.