Skip to content

Commit f79cd5e

Browse files
committed
Use explicit 'any' for existential.
1 parent 2ef7c09 commit f79cd5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Effect.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ extension Effect {
423423
name: String?,
424424
priority: TaskPriority? = nil,
425425
operation: @escaping @Sendable () async throws -> Success
426-
) where Failure == Error {
426+
) where Failure == any Error {
427427
self.init(priority: priority, operation: operation)
428428
}
429429
}

0 commit comments

Comments
 (0)