mirror of
https://github.com/apple/swift-collections
synced 2026-11-29 05:14:20 +00:00
Run the drainable container checker against UniqueDeque over every storage layout, including wrapped ones. UniqueDeque's own remove(at:), removeSubrange(_:) and consumeSubrange(_:consumingWith:) don't match the protocol's requirements, since the first takes its index by value and the others return nothing, so the checker's generic calls reach the protocol's default implementations of these, over a two-part storage. It passes with #814's fix reverted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Unit tests
Beware! The contents of this directory are not source stable. They are provided as is, with no compatibility promises across package releases. Future versions of this package can arbitrarily change these files or remove them, without any advance notice. (This can include patch releases.)