Skip to content

Commit

Permalink
Fix associated type inference error in release build (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Vermeulen authored Apr 14, 2021
1 parent 36bcc55 commit 04d9180
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Algorithms/Product.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public struct Product2<Base1: Sequence, Base2: Collection> {
}

extension Product2: Sequence {
public typealias Element = (Base1.Element, Base2.Element)

/// The iterator for a `Product2` sequence.
public struct Iterator: IteratorProtocol {
@usableFromInline
Expand Down

0 comments on commit 04d9180

Please sign in to comment.