mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-30 04:48:43 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04d91803a2 |
@@ -27,6 +27,8 @@ public struct Product2<Base1: Sequence, Base2: Collection> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
extension Product2: Sequence {
|
extension Product2: Sequence {
|
||||||
|
public typealias Element = (Base1.Element, Base2.Element)
|
||||||
|
|
||||||
/// The iterator for a `Product2` sequence.
|
/// The iterator for a `Product2` sequence.
|
||||||
public struct Iterator: IteratorProtocol {
|
public struct Iterator: IteratorProtocol {
|
||||||
@usableFromInline
|
@usableFromInline
|
||||||
|
|||||||
Reference in new issue
Block a user