Skip to content

Commit 138ef06

Browse files
committed
Run swiftformat
feature/improve-MockNetworkService-subclassing
1 parent 2f246fd commit 138ef06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/NetworkService/URLRequest+HTTPHeader.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ extension Array where Element: HTTPHeader {
4242
public var asDictionary: [String: String] {
4343
var dict = [String: String]()
4444
dict.reserveCapacity(count)
45-
return reduce(into: dict, { (acc, next) in
45+
return reduce(into: dict) { acc, next in
4646
acc[next.key] = next.value
47-
})
47+
}
4848
}
4949
}
5050

0 commit comments

Comments
 (0)