From 75a871c4375fae8bf8f40241570808b67b11eaf5 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Thu, 7 Mar 2024 16:37:51 +0800 Subject: [PATCH] format --- src/hbbs_http/sync.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hbbs_http/sync.rs b/src/hbbs_http/sync.rs index 8956cdd67..2a33b3114 100644 --- a/src/hbbs_http/sync.rs +++ b/src/hbbs_http/sync.rs @@ -150,11 +150,11 @@ fn handle_config_options(config_options: HashMap) { config_options .iter() .map(|(k, v)| { - if v.is_empty() { - options.remove(k); - } else { - options.insert(k.to_string(), v.to_string()); - } + if v.is_empty() { + options.remove(k); + } else { + options.insert(k.to_string(), v.to_string()); + } }) .count(); Config::set_options(options);