Skip to content

Commit

Permalink
Fix 1.63.0 MSRV (seanmonstar#1993)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull authored and Nutomic committed Nov 7, 2024
1 parent 859ea97 commit e630762
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 e630762

Please sign in to comment.