Skip to content

Commit 183418a

Browse files
authored
Explicitly mark ContiguousBytesAdapter as conditionally Sendable (#77)
1 parent 5a53247 commit 183418a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/GRPCProtobuf/ContiguousBytesAdapter.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,6 @@ struct ContiguousBytesAdapter<
6363
try self.bytes.withUnsafeMutableBytes(body)
6464
}
6565
}
66+
67+
@available(gRPCSwiftProtobuf 2.1, *)
68+
extension ContiguousBytesAdapter: Sendable where Bytes: Sendable {}

0 commit comments

Comments
 (0)