From e630762619c9cef334a21fcba50250c44764df35 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); };