mirror of
https://github.com/apple/swift-collections
synced 2026-11-27 04:54:21 +00:00
The examples for `intersection(_ other: Range<Int>)` and `formIntersection(_ other: Range<Int>)` (on both `BitSet` and `BitSet.Counted`) showed the result of the corresponding `subtract` example instead: intersecting `[1, 2, 3, 4]` with `-10 ..< 3` yields `[1, 2]`, not `[3, 4]`.