aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 3a0aa4183..6870d032b 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -178,7 +178,7 @@ impl Config {
178 pub fn update(&mut self, json: serde_json::Value) { 178 pub fn update(&mut self, json: serde_json::Value) {
179 log::info!("Config::update({:#})", json); 179 log::info!("Config::update({:#})", json);
180 180
181 if json.is_null() { 181 if json.is_null() || json.as_object().map_or(false, |it| it.is_empty()) {
182 return; 182 return;
183 } 183 }
184 184