We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4afc340 + 0343e39 commit ddee84eCopy full SHA for ddee84e
stdlib/public/Concurrency/AsyncSequence.swift
@@ -81,7 +81,7 @@ public protocol AsyncSequence<Element, Failure> {
81
82
/// The type of errors produced when iteration over the sequence fails.
83
@available(SwiftStdlib 6.0, *)
84
- associatedtype Failure: Error = AsyncIterator.Failure
+ associatedtype Failure: Error = any Error
85
where AsyncIterator.Failure == Failure
86
87
/// Creates the asynchronous iterator that produces elements of this
0 commit comments