Skip to content

Commit 23bf863

Browse files
rockbrunoxwu
andauthored
Update Sources/Algorithms/PartialSort.swift
Co-authored-by: Xiaodi Wu <[email protected]>
1 parent d0c1ccd commit 23bf863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Algorithms/PartialSort.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extension Collection {
4040
"""
4141
)
4242

43-
// Make sure we are within bounds
43+
// Make sure we are within bounds.
4444
let prefixCount = Swift.min(count, self.count)
4545

4646
// If we're attempting to prefix more than 10% of the collection, it's faster to sort everything.

0 commit comments

Comments
 (0)