From 76024eeae905c5e4d2fb5b614ebc382e64c2eb8f Mon Sep 17 00:00:00 2001 From: phoenix Date: Sat, 28 Jun 2025 17:02:26 -0400 Subject: [PATCH] Code formatting --- src/main.rs | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/main.rs b/src/main.rs index 97bc56f..afe7ca9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -81,17 +81,15 @@ async fn some_work( .await { Ok(response) => { - match response.json::().await { - Ok(_inner_response) => { - Ok(()) - } - Err(err) => Err(std::io::Error::other( - err.to_string())) + match response + .json::() + .await + { + Ok(_inner_response) => Ok(()), + Err(err) => Err(std::io::Error::other(err.to_string())), } } - Err(err) => Err(std::io::Error::other( - err.to_string(), - )), + Err(err) => Err(std::io::Error::other(err.to_string())), } } Err(err) => {