Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Libraries/Connect/Implementation/ProtocolClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,7 @@ extension ProtocolClient: ProtocolClientInterface {
}

private extension StreamResult<Data> {
func toTypedResult<Output: SwiftProtobuf.Message>(using codec: Codec)
throws -> StreamResult<Output>
{
func toTypedResult<M: SwiftProtobuf.Message>(using codec: Codec) throws -> StreamResult<M> {
switch self {
case .complete(let code, let error, let trailers):
return .complete(code: code, error: error, trailers: trailers)
Expand Down