Skip to content

Commit

Permalink
Fix 1.63.0 MSRV (#1993)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull authored Oct 26, 2023
1 parent 5df3861 commit cdffa57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,9 @@ fn parse_setting_from_dynamic_store(
fn get_from_platform_impl() -> Result<Option<String>, Box<dyn Error>> {
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);
};

Expand Down

0 comments on commit cdffa57

Please sign in to comment.