From b08380c12ac8bcc618be7e248e5bbdd4a08da1fd Mon Sep 17 00:00:00 2001 From: RBusarow Date: Thu, 7 Nov 2024 18:38:35 +0000 Subject: [PATCH] Apply changes from ktLintFormat Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../kotlin/com/squareup/workflow1/StatelessWorkflow.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/workflow-core/src/commonMain/kotlin/com/squareup/workflow1/StatelessWorkflow.kt b/workflow-core/src/commonMain/kotlin/com/squareup/workflow1/StatelessWorkflow.kt index 91e68782d..cb3d7ca34 100644 --- a/workflow-core/src/commonMain/kotlin/com/squareup/workflow1/StatelessWorkflow.kt +++ b/workflow-core/src/commonMain/kotlin/com/squareup/workflow1/StatelessWorkflow.kt @@ -113,15 +113,14 @@ public fun Workflow.Companion.rendering( rendering: RenderingT ): Workflow = stateless { rendering } - @Deprecated( "Always provide a debugging name", ReplaceWith("action(\"TODO: debugging name\", update)") ) public fun StatelessWorkflow.action( - update: WorkflowAction.Updater.() -> Unit -): WorkflowAction = action("", update) + update: WorkflowAction.Updater.() -> Unit + ): WorkflowAction = action("", update) /** * Convenience to create a [WorkflowAction] with parameter types matching those