Adopt Sendable in NIOFoundationCompat (#2203)

This commit is contained in:
David Nadoba authored and GitHub committed 2022-06-21 09:33:04 +01:00
1 parent b73fc4e90d
commit 48f4e2978f
1 file changed
+1 -1
@@ -39,7 +39,7 @@ public enum ByteBufferFoundationError: Error {
extension ByteBuffer {
/// Controls how bytes are transferred between `ByteBuffer` and other storage types.
public enum ByteTransferStrategy {
public enum ByteTransferStrategy: NIOSendable {
/// Force a copy of the bytes.
case copy