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 328631d commit 2e71e22Copy full SHA for 2e71e22
Sources/Algorithms/Suffix.swift
@@ -46,7 +46,7 @@ extension Collection {
46
///
47
/// - Complexity: O(*n*), where *n* is the length of the collection.
48
@inlinable
49
- internal func endOfPrefix(
+ public func endOfPrefix(
50
while predicate: (Element) throws -> Bool
51
) rethrows -> Index {
52
var index = startIndex
@@ -72,7 +72,7 @@ extension BidirectionalCollection {
72
73
74
75
- internal func startOfSuffix(
+ public func startOfSuffix(
76
77
78
var index = endIndex
0 commit comments