Skip to content

Commit b35e140

Browse files
committed
surgical @preconcurrency URL for sendability
1 parent e9577c5 commit b35e140

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/AsyncHTTPClient/HTTPHandler.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
import Algorithms
1616
import Foundation
17+
#if compiler(<6.0)
18+
@preconcurrency import struct Foundation.URL
19+
#endif
1720
import Logging
1821
import NIOConcurrencyHelpers
1922
import NIOCore

0 commit comments

Comments
 (0)