We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62abcb4 commit 6073193Copy full SHA for 6073193
Sources/Algorithms/Cycle.swift
@@ -63,7 +63,7 @@ public struct FiniteCycle<Base: Collection> {
63
/// A Product2 instance for iterating the Base collection.
64
public let product: Product2<Range<Int>, Base>
65
66
- @usableFromInline
+ @inlinable
67
internal init(base: Base, times: Int) {
68
self.product = Product2(0..<times, base)
69
}
@@ -75,7 +75,7 @@ extension FiniteCycle {
75
@usableFromInline
76
var productIterator: Product2<Range<Int>, Base>.Iterator
77
78
79
internal init(product: Product2<Range<Int>, Base>) {
80
self.productIterator = product.makeIterator()
81
0 commit comments