Skip to content

Commit

Permalink
make AsyncThrowingStream convenience init public
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKiazyk committed Nov 22, 2023
1 parent aeb6160 commit 182b92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unxip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ extension AsyncThrowingStream where Failure == Error {
}
}

init<S: AsyncSequence>(erasing sequence: S) where S.Element == Element {
public init<S: AsyncSequence>(erasing sequence: S) where S.Element == Element {
var iterator = sequence.makeAsyncIterator()
self.init {
try await iterator.next()
Expand Down

0 comments on commit 182b92b

Please sign in to comment.