From 407463d70b5c33ac25ce5a1225d1936fb07625cf Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Wed, 8 Nov 2023 01:14:01 +0100 Subject: [PATCH] fix: formatting of `tx.send()` --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1a211d4..6579715 100644 --- a/src/main.rs +++ b/src/main.rs @@ -68,7 +68,9 @@ async fn fetch_secrets_from_key_vault( // Handle the result and send it through the channel match secret_bundle { Ok(bundle) => { - tx.send((secret_id, bundle.value)).await.expect("Send error"); + tx.send((secret_id, bundle.value)) + .await + .expect("Send error"); } Err(err) => { eprintln!("Error fetching secret: {}", err); @@ -116,4 +118,4 @@ async fn main() -> Result<(), Box> { println!("Process completed successfully!"); Ok(()) -} \ No newline at end of file +}