From cdffa573c9de6adf44d940de9890183b1b9d0e54 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Thu, 26 Oct 2023 17:47:43 +0200 Subject: [PATCH] Fix 1.63.0 MSRV (#1993) --- src/proxy.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/proxy.rs b/src/proxy.rs index 93ad00c39..6e1bfcc73 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -943,7 +943,9 @@ fn parse_setting_from_dynamic_store( fn get_from_platform_impl() -> Result, Box> { let store = SCDynamicStoreBuilder::new("reqwest").build(); - let Some(proxies_map) = store.get_proxies() else { + let proxies_map = if let Some(proxies_map) = store.get_proxies() { + proxies_map + } else { return Ok(None); };