Skip to content

Commit 1b97c57

Browse files
[stdlib] Fix typo in Collection.swift
1 parent ad00063 commit 1b97c57

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)