Add missing availability annotation to NIOTSConnectionBootstrap (#160)

Motivation:

- NIOTSConnectionBootstrap was extended to be marked as non-Sendable,
  this extenion missed the availability annotations.

Modifications:

- Add appropriate availability annotation

Result:

Resolves #159
This commit is contained in:
George Barnett 2022-09-28 16:04:35 +01:00 committed by GitHub
parent b39e53ad42
commit b6e37a0d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -263,6 +263,7 @@ public final class NIOTSConnectionBootstrap {
#if swift(>=5.6)
@available(*, unavailable)
@available(OSX 10.14, iOS 12.0, tvOS 12.0, watchOS 6.0, *)
extension NIOTSConnectionBootstrap: Sendable {}
#endif