make base and stride internal

This commit is contained in:
Oliver Atkinson committed 2020-11-02 10:02:17 +00:00
1 parent 4a194ca811
commit dcdef508c0
1 file changed
+2 -2
+2 -2
View File
@@ -34,8 +34,8 @@ extension Collection {
public struct Stride<Base: Collection> {
public let base: Base
public let stride: Int
let base: Base
let stride: Int
init(base: Base, stride: Int) {
precondition(stride > 0, "striding must be greater than zero")