Replace NIOSendable with Sendable (#358)

Motivation:

NIOSendable was deprecated in https://github.com/apple/swift-nio/pull/2291
as the earliest supported Swift version in NIO land is now 5.5.

Modifications:

- s/NIOSendable/Sendable

Result:

Avoids deprecation warnings when the above patch is released.
This commit is contained in:
George Barnett authored and GitHub committed 2022-11-01 01:47:07 -07:00
1 parent a89ddbf0af
commit b1f1e68683
13 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ import NIOCore
///
/// HTTP/2 uses error codes to communicate to remote peers what went wrong on either a stream or
/// a connection. This data type models that underlying representation.
public struct HTTP2ErrorCode: NIOSendable {
public struct HTTP2ErrorCode: Sendable {
/// The underlying network representation of the error code.
public var networkCode: Int {
get {