From 220b59b6a9e06258833e9b23041eadddf1e98c7d Mon Sep 17 00:00:00 2001 From: Zefanja Jobse Date: Sun, 8 Oct 2023 22:18:58 +0200 Subject: [PATCH] . --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 7e8fe6a..b8495eb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -130,9 +130,7 @@ async fn get() -> Result> { json_string.remove(0); } match serde_json::from_str::>(&json_string) { - Ok(json_res) => { - Ok(json_res) - } + Ok(json_res) => Ok(json_res), Err(e) => { anyhow::bail!("BattleBit public json is incorrect: {:#?}", e) }