closure param name tweak #153

Merged
muellerr merged 1 commits from small-example-tweak into main 2024-04-10 17:17:14 +02:00
Showing only changes of commit 1dbc81a8f5 - Show all commits

View File

@ -36,11 +36,11 @@ impl<TmSender: EcssTmSenderCore, TcInMemConverter: EcssTcInMemConverter>
let mut nothing_to_do = true; let mut nothing_to_do = true;
let mut is_srv_finished = let mut is_srv_finished =
|_srv_id: u8, |_srv_id: u8,
tc_handling_done: HandlingStatus, tc_handling_status: HandlingStatus,
reply_handling_done: Option<HandlingStatus>| { reply_handling_status: Option<HandlingStatus>| {
if tc_handling_done == HandlingStatus::HandledOne if tc_handling_status == HandlingStatus::HandledOne
|| (reply_handling_done.is_some() || (reply_handling_status.is_some()
&& reply_handling_done.unwrap() == HandlingStatus::HandledOne) && reply_handling_status.unwrap() == HandlingStatus::HandledOne)
{ {
nothing_to_do = false; nothing_to_do = false;
} }