From dcdef508c0abc1839008ae14b7d6d6e960164735 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Mon, 2 Nov 2020 10:02:17 +0000 Subject: [PATCH] make base and stride internal --- Sources/Algorithms/Stride.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Algorithms/Stride.swift b/Sources/Algorithms/Stride.swift index d8fc05e..480b468 100644 --- a/Sources/Algorithms/Stride.swift +++ b/Sources/Algorithms/Stride.swift @@ -34,8 +34,8 @@ extension Collection { public struct Stride { - 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")