diff --git a/Sources/ComposableArchitecture/Effects/Cancellation.swift b/Sources/ComposableArchitecture/Effects/Cancellation.swift index 57f39d1aacfe..ec61eefc4901 100644 --- a/Sources/ComposableArchitecture/Effects/Cancellation.swift +++ b/Sources/ComposableArchitecture/Effects/Cancellation.swift @@ -14,7 +14,7 @@ extension Effect { /// /// case .reloadButtonTapped: /// // Start a new effect to load the user - /// return .run { + /// return .run { send in /// await send( /// .userResponse( /// TaskResult { try await self.apiClient.loadUser() }