Skip to content

Commit 953011d

Browse files
authored
Merge pull request #5159 from Commencis/public-internal
Make partitioningIndex public
2 parents 6626a2b + b620fa7 commit 953011d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Charts/Utils/Partition.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extension Collection {
3030
///
3131
/// - Complexity: O(log *n*), where *n* is the length of this collection if
3232
/// the collection conforms to `RandomAccessCollection`, otherwise O(*n*).
33-
func partitioningIndex(
33+
public func partitioningIndex(
3434
where belongsInSecondPartition: (Element) throws -> Bool
3535
) rethrows -> Index {
3636
var n = count

0 commit comments

Comments
 (0)