Skip to content

Commit cccacd7

Browse files
authored
Merge pull request swiftlang#76082 from Changhyun-Kyle/fix-collection-doc
[stdlib] Fix grammatical error in Collection.swift
2 parents bbcc305 + 1b97c57 commit cccacd7

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
@@ -214,7 +214,7 @@ extension IndexingIterator: Sendable
214214
/// takes a range expression.
215215
///
216216
/// if let firstSpace = text.firstIndex(of: " ") {
217-
/// print(text[..<firstSpace]
217+
/// print(text[..<firstSpace])
218218
/// // Prints "Buffalo"
219219
/// }
220220
///

0 commit comments

Comments
 (0)