Skip to content

Commit 6936e36

Browse files
committed
lint
1 parent 4f83a97 commit 6936e36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/worker/workflow/machines/nexus_operation_state_machine.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ impl Started {
329329

330330
pub(super) fn on_cancel_request_completed(
331331
self,
332-
ss: &SharedState,
332+
ss: &mut SharedState,
333333
_: NexusOperationCancelRequestCompletedEventAttributes,
334334
) -> NexusOperationMachineTransition<StartedOrCancelled> {
335335
if ss.cancel_type == NexusOperationCancellationType::WaitCancellationRequested {
@@ -346,7 +346,7 @@ impl Started {
346346

347347
pub(super) fn on_cancel_request_failed(
348348
self,
349-
ss: &SharedState,
349+
ss: &mut SharedState,
350350
fa: NexusOperationCancelRequestFailedEventAttributes,
351351
) -> NexusOperationMachineTransition<Started> {
352352
if ss.cancel_type == NexusOperationCancellationType::WaitCancellationRequested {

0 commit comments

Comments
 (0)