Skip to content

Commit 3a5b74a

Browse files
Fix compilation on nightly-main Swift, which has new optional type inference (#900)
1 parent 3b57e00 commit 3a5b74a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/AsyncHTTPClient/RequestBag+Tracing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import Tracing
2222
extension RequestBag.LoopBoundState {
2323

2424
/// Starts the "overall" Span that encompases the beginning of a request until receipt of the head part of the response.
25-
mutating func startRequestSpan<T>(tracer: T?) {
25+
mutating func startRequestSpan(tracer: (any Sendable)?) {
2626
guard #available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *),
2727
let tracer = tracer as! (any Tracer)?
2828
else {

0 commit comments

Comments
 (0)