Skip to content

Commit 31d26f7

Browse files
committed
Fix doc typo.
1 parent 68cd8ad commit 31d26f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Algorithms/LazySplitCollection.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ extension LazySplitCollection.Iterator: IteratorProtocol {
6767
/// (including empty ones, if they are not omitted) will be at most one more than the number of
6868
/// splits made (equivalently, one more than the number of separators encountered).
6969
///
70-
/// The number of splits is limited by `maxSplits`, and thus may be less than total number of
71-
/// separators in the base collection.
70+
/// The number of splits is limited by `maxSplits`, and thus may be less than the total number
71+
/// of separators in the base collection.
7272
///
7373
/// [1, 2, 42, 3, 4, 42, 5].split(separator: 42,
7474
/// omittingEmptySubsequences: false)

0 commit comments

Comments
 (0)