Skip to content

Commit ada0aa2

Browse files
fabianfettslashmo
authored andcommitted
swift-format
Signed-off-by: Fabian Fett <fabianfett@apple.com>
1 parent d1b16e7 commit ada0aa2

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
@@ -231,7 +231,7 @@ public final actor ValkeyConnection: ValkeyClientProtocol, Sendable {
231231
_ commands: repeat each Command
232232
) async -> sending (repeat Result<(each Command).Response, Error>) {
233233
func convert<Response: RESPTokenDecodable>(_ result: Result<RESPToken, Error>, to: Response.Type) -> Result<Response, Error> {
234-
return result.flatMap {
234+
result.flatMap {
235235
do {
236236
return try .success(Response(fromRESP: $0))
237237
} catch {

Sources/Valkey/Connection/ValkeyConnectionConfiguration.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
import NIOSSL
10+
1011
#if DistributedTracingSupport
1112
import Tracing
1213
#endif

0 commit comments

Comments
 (0)