Skip to content

Commit

Permalink
Use shorthand label syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Nov 29, 2024
1 parent d260f99 commit ca5092d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/persevero.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ fn do_execute(
errors_acc: [error, ..errors_acc],
attempt_number: attempt_number + 1,
start_time: start_time,
duration: duration,
duration:,
)
False ->
RetryData(
Expand All @@ -279,7 +279,7 @@ fn do_execute(
RetryData(
result: Error(error),
wait_times: wait_time_acc |> list.reverse,
duration: duration,
duration:,
)
}
}
Expand Down

0 comments on commit ca5092d

Please sign in to comment.