mirror of
https://github.com/swift-server/async-http-client.git
synced 2026-05-03 07:32:29 +00:00
Fix compilation on nightly-main Swift, which has new optional type inference (#900)
This commit is contained in:
@@ -22,7 +22,7 @@ import Tracing
|
||||
extension RequestBag.LoopBoundState {
|
||||
|
||||
/// Starts the "overall" Span that encompases the beginning of a request until receipt of the head part of the response.
|
||||
mutating func startRequestSpan<T>(tracer: T?) {
|
||||
mutating func startRequestSpan(tracer: (any Sendable)?) {
|
||||
guard #available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *),
|
||||
let tracer = tracer as! (any Tracer)?
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user