diff options
author | Alan Du <[email protected]> | 2018-10-20 17:29:25 +0100 |
---|---|---|
committer | Alan Du <[email protected]> | 2018-10-20 17:29:25 +0100 |
commit | 0857c22f263ff18418f939b57a7a2ab3f8aac2c1 (patch) | |
tree | f7a33b9fb8ddabe65c99f4db6a7d84c7a8463e16 /crates/ra_lsp_server | |
parent | 6dd3fa6a947a4442e46ac042ff955a7f17bd6a0f (diff) |
Revert "clippy: Fix new_ret_no_self"
This reverts commit 2ae9dfa812ccf18867373f77a106161378a6d91d.
Diffstat (limited to 'crates/ra_lsp_server')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/mod.rs b/crates/ra_lsp_server/src/main_loop/mod.rs index 2623ab84e..a11baf4aa 100644 --- a/crates/ra_lsp_server/src/main_loop/mod.rs +++ b/crates/ra_lsp_server/src/main_loop/mod.rs | |||
@@ -355,7 +355,7 @@ impl<'a> PoolDispatcher<'a> { | |||
355 | }; | 355 | }; |
356 | match req.cast::<R>() { | 356 | match req.cast::<R>() { |
357 | Ok((id, params)) => { | 357 | Ok((id, params)) => { |
358 | let (handle, token) = JobHandle::new_pair(); | 358 | let (handle, token) = JobHandle::new(); |
359 | let world = self.world.snapshot(); | 359 | let world = self.world.snapshot(); |
360 | let sender = self.sender.clone(); | 360 | let sender = self.sender.clone(); |
361 | self.pool.spawn(move || { | 361 | self.pool.spawn(move || { |