mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-26 04:27:48 +00:00
make base and stride internal
This commit is contained in:
1 file changed
+2
-2
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user