Skip to content

Commit 32db8f7

Browse files
author
Dave Abrahams
authored
Merge pull request #3612 from ddunbar/collection-doc
[stdlib] Update a documentation comment for SE-0118.
2 parents 0eaa576 + 3f8801f commit 32db8f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Collection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ extension Collection {
15011501
/// parameter, so the returned array contains empty strings where spaces
15021502
/// were repeated.
15031503
///
1504-
/// print(line.characters.split(omittingEmptySubsequences: false, isSeparator: { $0 == " " })
1504+
/// print(line.characters.split(omittingEmptySubsequences: false, whereSeparator: { $0 == " " })
15051505
/// .map(String.init))
15061506
/// // Prints "["BLANCHE:", "", "", "I", "don\'t", "want", "realism.", "I", "want", "magic!"]"
15071507
///

0 commit comments

Comments
 (0)