diff options
author | Kirill Bulatov <[email protected]> | 2020-03-21 21:58:52 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-03-30 11:39:14 +0100 |
commit | 590af37bff2b5ec9a692f2468c98acf7f9f492c0 (patch) | |
tree | 8828fa04effad60dd23b87af261698a4a91ff4c9 | |
parent | 392eb74b5f4672b9f3f415246ad6e992e35f4eee (diff) |
Small style fix
Co-Authored-By: Veetaha <[email protected]>
-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() { |