Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1581d0

Browse files
authored
Fix a grammatical sentence in Collections.md (apple#127)
1 parent 442d20e commit f1581d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Guides/Collections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This type of functionality can be useful for examples and testing, and also for
2222

2323
Three categories of initializers will be added to provide initializers for those three primary types: `Array`, `Dictionary` and `Set`. However these initializers can be written in a generic fashion such that they can apply to all similar collections.
2424

25-
`RangeReplaceableCollection` will gain a new that constructs a collection given an `AsyncSequence`. This will allow for creating arrays from asynchronous sequences but also allow for creating types like `Data` or `ContiguousArray`. Because of the nature of asynchronous sequences, this initializer must be asynchronous and declare that it rethrows errors from the base asynchronous sequence.
25+
`RangeReplaceableCollection` will gain a new initializer that constructs a collection given an `AsyncSequence`. This will allow for creating arrays from asynchronous sequences but also allow for creating types like `Data` or `ContiguousArray`. Because of the nature of asynchronous sequences, this initializer must be asynchronous and declare that it rethrows errors from the base asynchronous sequence.
2626

2727
```swift
2828
extension RangeReplaceableCollection {

0 commit comments

Comments
 (0)