Skip to content

Commit 17ec3d9

Browse files
authored
refactor : remove unnecessary conformance to Sendable Protocol (#1535)
1 parent cc535c3 commit 17ec3d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/Search/Search/WeatherClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct Forecast: Decodable, Equatable, Sendable {
3838
// Typically this interface would live in its own module, separate from the live implementation.
3939
// This allows the search feature to compile faster since it only depends on the interface.
4040

41-
struct WeatherClient: Sendable {
41+
struct WeatherClient {
4242
var forecast: @Sendable (GeocodingSearch.Result) async throws -> Forecast
4343
var search: @Sendable (String) async throws -> GeocodingSearch
4444
}

0 commit comments

Comments
 (0)