mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Remove #if compiler(>=5.5) (#2292)
### Motivation We only support Swift 5.5.2+. ### Modification Remove all `#if swift(>=5.5)` conditional compilation blocks. ### Result less branching
This commit is contained in:
1 parent
788b759d0b
commit
c7b4989b02
48 files changed
+16
-559
No files matched your search
@@ -11,7 +11,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#if compiler(>=5.5.2) && canImport(_Concurrency)
|
||||
|
||||
import NIOConcurrencyHelpers
|
||||
import NIOCore
|
||||
|
||||
@@ -563,5 +563,3 @@ extension NIOAsyncTestingChannel.LeftOverState: @unchecked Sendable { }
|
||||
|
||||
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
|
||||
extension NIOAsyncTestingChannel.BufferState: @unchecked Sendable { }
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user