Skip to content

Commit

Permalink
Fix support for Swift 5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Joannis committed Jun 30, 2024
1 parent bb2a8ef commit 97114a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MongoClient/Connection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public final actor MongoConnection: Sendable {
try await self.authenticate(to: authenticationDatabase, serverHandshake: handshake, with: credentials)
}

@Sendable nonisolated package func _withSpan<T: Sendable>(
@Sendable nonisolated func _withSpan<T: Sendable>(
_ label: String,
context: ServiceContext? = nil,
ofKind kind: SpanKind,
Expand Down

0 comments on commit 97114a9

Please sign in to comment.