From 77fa67299ca5ea2afc415249e4c5ad60aaa08134 Mon Sep 17 00:00:00 2001 From: Tokarak <63452145+Tokarak@users.noreply.github.com> Date: Sun, 20 Oct 2024 18:56:23 +0100 Subject: [PATCH] Run cargo fmt --- src/client.rs | 3 ++- src/instance_info.rs | 2 +- src/main.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client.rs b/src/client.rs index 51506b0..f990800 100644 --- a/src/client.rs +++ b/src/client.rs @@ -31,6 +31,7 @@ const REDDIT_SHORT_URL_BASE_HOST: &str = "redd.it"; const ALTERNATIVE_REDDIT_URL_BASE: &str = "https://www.reddit.com"; const ALTERNATIVE_REDDIT_URL_BASE_HOST: &str = "www.reddit.com"; +// CLIENT and VERIFY_HTTPS are initialised in main.rs pub static CLIENT: OnceLock>> = OnceLock::new(); pub static VERIFY_HTTPS: OnceLock = OnceLock::new(); @@ -58,7 +59,7 @@ pub fn generate_client(https_verification: bool) -> Client