diff options
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index ce25ff162..45bd52769 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -217,7 +217,7 @@ fn main_loop_inner( | |||
217 | Err(RecvError) => Err("client exited without shutdown")?, | 217 | Err(RecvError) => Err("client exited without shutdown")?, |
218 | }, | 218 | }, |
219 | recv(task_receiver) -> task => Event::Task(task.unwrap()), | 219 | recv(task_receiver) -> task => Event::Task(task.unwrap()), |
220 | recv(state.vfs.read().task_receiver()) -> task => match task { | 220 | recv(state.task_receiver) -> task => match task { |
221 | Ok(task) => Event::Vfs(task), | 221 | Ok(task) => Event::Vfs(task), |
222 | Err(RecvError) => Err("vfs died")?, | 222 | Err(RecvError) => Err("vfs died")?, |
223 | }, | 223 | }, |