mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +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
@@ -378,9 +378,7 @@ public final class NIOHTTPClientUpgradeHandler: ChannelDuplexHandler, RemovableC
|
||||
}
|
||||
}
|
||||
|
||||
#if swift(>=5.5) && canImport(_Concurrency)
|
||||
extension NIOHTTPClientUpgradeHandler: @unchecked Sendable {}
|
||||
#endif
|
||||
|
||||
extension NIOHTTPClientUpgradeHandler {
|
||||
/// The state of the upgrade handler.
|
||||
|
||||
Reference in new issue
Block a user