diff options
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index a64dccd58..e1fcae136 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs | |||
@@ -415,7 +415,7 @@ fn loop_turn( | |||
415 | } | 415 | } |
416 | 416 | ||
417 | if Some(resp.id) == loop_state.configuration_request_id { | 417 | if Some(resp.id) == loop_state.configuration_request_id { |
418 | loop_state.configuration_request_id.take(); | 418 | loop_state.configuration_request_id = None; |
419 | if let Some(err) = resp.error { | 419 | if let Some(err) = resp.error { |
420 | log::error!("failed fetch the server settings: {:?}", err) | 420 | log::error!("failed fetch the server settings: {:?}", err) |
421 | } else if resp.result.is_none() { | 421 | } else if resp.result.is_none() { |