From d13c8e8861a845f5f05ce445ac3fd6a451906dcb Mon Sep 17 00:00:00 2001 From: Thoronium <107363768+NotThorny@users.noreply.github.com> Date: Wed, 26 Apr 2023 15:01:49 -0600 Subject: [PATCH] rustfmt --- src-tauri/src/web.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src-tauri/src/web.rs b/src-tauri/src/web.rs index e1337b6..5615561 100644 --- a/src-tauri/src/web.rs +++ b/src-tauri/src/web.rs @@ -4,10 +4,12 @@ use reqwest::header::{CONTENT_TYPE, USER_AGENT}; static CLIENT: Lazy = Lazy::new(|| { let mut headers = header::HeaderMap::new(); headers.insert(USER_AGENT, header::HeaderValue::from_static("cultivation")); - headers.insert(CONTENT_TYPE, header::HeaderValue::from_static("application/json")); + headers.insert( + CONTENT_TYPE, + header::HeaderValue::from_static("application/json"), + ); - let client = reqwest::Client::builder() - .default_headers(headers); + let client = reqwest::Client::builder().default_headers(headers); client.build().unwrap() });