refactor : remove unnecessary conformance to Sendable Protocol (#1535)

This commit is contained in:
Inwoo Hwang
2022-10-20 22:01:38 +09:00
committed by GitHub
parent cc535c3e37
commit 17ec3d9f81

View File

@@ -38,7 +38,7 @@ struct Forecast: Decodable, Equatable, Sendable {
// Typically this interface would live in its own module, separate from the live implementation.
// This allows the search feature to compile faster since it only depends on the interface.
struct WeatherClient: Sendable {
struct WeatherClient {
var forecast: @Sendable (GeocodingSearch.Result) async throws -> Forecast
var search: @Sendable (String) async throws -> GeocodingSearch
}