Skip to content

Commit 04d9180

Browse files
author
Tim Vermeulen
authored
Fix associated type inference error in release build (#130)
1 parent 36bcc55 commit 04d9180

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Algorithms/Product.swift

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public struct Product2<Base1: Sequence, Base2: Collection> {
2727
}
2828

2929
extension Product2: Sequence {
30+
public typealias Element = (Base1.Element, Base2.Element)
31+
3032
/// The iterator for a `Product2` sequence.
3133
public struct Iterator: IteratorProtocol {
3234
@usableFromInline

0 commit comments

Comments
 (0)