Skip to content

Commit 6041836

Browse files
Merge pull request #105 from square/dhaval/fixWarning
Fix redundant conformance warning
2 parents 4a36e4f + a866eb6 commit 6041836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Workflow/Sources/AnyWorkflowConvertible.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ extension AnyWorkflowConvertible where Rendering == Void {
7979
}
8080

8181
extension AnyWorkflowConvertible where Rendering == Void, Output: WorkflowAction {
82-
public func running<Parent>(in context: RenderContext<Parent>, key: String = "") where Parent: Workflow, Output.WorkflowType == Parent {
82+
public func running<Parent>(in context: RenderContext<Parent>, key: String = "") where Output.WorkflowType == Parent {
8383
rendered(in: context, key: key)
8484
}
8585
}
@@ -118,7 +118,7 @@ struct OutputBlockingWorkflow<Child: AnyWorkflowConvertible>: Workflow {
118118

119119
func render(state: Void, context: RenderContext<OutputBlockingWorkflow<Child>>) -> Child.Rendering {
120120
return child
121-
.mapOutput { (_) in AnyWorkflowAction.noAction }
121+
.mapOutput { _ in AnyWorkflowAction.noAction }
122122
.rendered(in: context)
123123
}
124124
}

0 commit comments

Comments
 (0)