Skip to content

Commit fcb9158

Browse files
author
Chris Adamson
committed
Better abstract for associatedtype AsyncIterator
1 parent 7aac571 commit fcb9158

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/Concurrency/AsyncSequence.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ import Swift
7474
@available(SwiftStdlib 5.5, *)
7575
@rethrows
7676
public protocol AsyncSequence {
77-
/// The type of asynchronous iterator produced by this asynchronous sequence.
77+
/// The type of asynchronous iterator that produces elements of this
78+
/// asynchronous sequence.
7879
associatedtype AsyncIterator: AsyncIteratorProtocol where AsyncIterator.Element == Element
7980
/// The type of element produced by this asynchronous sequence.
8081
associatedtype Element

0 commit comments

Comments
 (0)