Skip to content

Commit 5527e1d

Browse files
committed
Make let product internal with @usableFromInline.
1 parent f65f130 commit 5527e1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/Algorithms/Cycle.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ extension Cycle: LazySequenceProtocol where Base: LazySequenceProtocol {}
6161
/// finite number of times.
6262
public struct FiniteCycle<Base: Collection> {
6363
/// A Product2 instance for iterating the Base collection.
64-
public let product: Product2<Range<Int>, Base>
64+
@usableFromInline
65+
internal let product: Product2<Range<Int>, Base>
6566

6667
@inlinable
6768
internal init(base: Base, times: Int) {

0 commit comments

Comments
 (0)