From 590af37bff2b5ec9a692f2468c98acf7f9f492c0 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sat, 21 Mar 2020 23:58:52 +0200 Subject: Small style fix Co-Authored-By: Veetaha --- crates/rust-analyzer/src/main_loop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( } if Some(resp.id) == loop_state.configuration_request_id { - loop_state.configuration_request_id.take(); + loop_state.configuration_request_id = None; if let Some(err) = resp.error { log::error!("failed fetch the server settings: {:?}", err) } else if resp.result.is_none() { -- cgit v1.2.3