From 3b34649ed3cedf86996ac031b18320115efb28ab Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 21 Dec 2022 10:24:18 +0100 Subject: [PATCH] cargo fmt --- satrs-example/src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/satrs-example/src/main.rs b/satrs-example/src/main.rs index b16f86d..f929798 100644 --- a/satrs-example/src/main.rs +++ b/satrs-example/src/main.rs @@ -188,10 +188,12 @@ fn main() { Ok(request) => { println!("ACS thread: Received HK request {:?}", request.0); update_time(&mut time_provider, &mut timestamp); - let started_token = reporter_aocs.start_success(request.1, ×tamp).unwrap(); + let started_token = reporter_aocs + .start_success(request.1, ×tamp) + .expect("Sending start success failed"); reporter_aocs .completion_success(started_token, ×tamp) - .unwrap(); + .expect("Sending completion success failed"); } Err(e) => match e { TryRecvError::Empty => {}