From 1dbc81a8f57689992f7ea8254783fb93d47dce46 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 10 Apr 2024 15:51:08 +0200 Subject: [PATCH] closure param name tweak --- satrs-example/src/pus/stack.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/satrs-example/src/pus/stack.rs b/satrs-example/src/pus/stack.rs index 524e35b..4d136bf 100644 --- a/satrs-example/src/pus/stack.rs +++ b/satrs-example/src/pus/stack.rs @@ -36,11 +36,11 @@ impl let mut nothing_to_do = true; let mut is_srv_finished = |_srv_id: u8, - tc_handling_done: HandlingStatus, - reply_handling_done: Option| { - if tc_handling_done == HandlingStatus::HandledOne - || (reply_handling_done.is_some() - && reply_handling_done.unwrap() == HandlingStatus::HandledOne) + tc_handling_status: HandlingStatus, + reply_handling_status: Option| { + if tc_handling_status == HandlingStatus::HandledOne + || (reply_handling_status.is_some() + && reply_handling_status.unwrap() == HandlingStatus::HandledOne) { nothing_to_do = false; }