Skip to content

Commit 8030400

Browse files
committed
swift-format
1 parent 3d01310 commit 8030400

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Sources/Valkey/Connection/ValkeyConnection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public final actor ValkeyConnection: ValkeyClientProtocol, Sendable {
237237
_ commands: repeat each Command
238238
) async -> sending (repeat Result<(each Command).Response, Error>) {
239239
func convert<Response: RESPTokenDecodable>(_ result: Result<RESPToken, Error>, to: Response.Type) -> Result<Response, Error> {
240-
return result.flatMap {
240+
result.flatMap {
241241
do {
242242
return try .success(Response(fromRESP: $0))
243243
} catch {

Sources/Valkey/Connection/ValkeyConnectionConfiguration.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
//===----------------------------------------------------------------------===//
1414

1515
import NIOSSL
16+
1617
#if DistributedTracingSupport
1718
import Tracing
1819
#endif

0 commit comments

Comments
 (0)