Skip to content

Commit

Permalink
fix malcommac#740: subscript for TimePeriodGroup is now public
Browse files Browse the repository at this point in the history
  • Loading branch information
malcommac committed Sep 16, 2020
1 parent 84f5add commit 6d42c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftDate/TimePeriod/Groups/TimePeriodGroup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ open class TimePeriodGroup: Sequence, Equatable {
return try periods.split(maxSplits: maxSplits, omittingEmptySubsequences: omittingEmptySubsequences, whereSeparator: isSeparator).map(AnySequence.init)
}

subscript(index: Int) -> TimePeriodProtocol {
public subscript(index: Int) -> TimePeriodProtocol {
get {
return periods[index]
}
Expand Down

0 comments on commit 6d42c55

Please sign in to comment.