aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop.rs
diff options
context:
space:
mode:
authorgfreezy <[email protected]>2019-01-14 16:09:03 +0000
committerAleksey Kladov <[email protected]>2019-01-19 12:36:58 +0000
commitbc0f79f74ad0ab4f663b94772ccbfabed1de625e (patch)
tree21c125b75a7b757435ce641788cdcde0b9dd4f14 /crates/ra_lsp_server/src/main_loop.rs
parentb82fe73d1ab9727ff650382d9c86a231b06245be (diff)
rename mod
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r--crates/ra_lsp_server/src/main_loop.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs
index c48c4dd9e..fa07b1942 100644
--- a/crates/ra_lsp_server/src/main_loop.rs
+++ b/crates/ra_lsp_server/src/main_loop.rs
@@ -411,10 +411,7 @@ struct PoolDispatcher<'a> {
411} 411}
412 412
413impl<'a> PoolDispatcher<'a> { 413impl<'a> PoolDispatcher<'a> {
414 fn on<'b, R>( 414 fn on<R>(&mut self, f: fn(ServerWorld, R::Params) -> Result<R::Result>) -> Result<&mut Self>
415 &'b mut self,
416 f: fn(ServerWorld, R::Params) -> Result<R::Result>,
417 ) -> Result<&'b mut Self>
418 where 415 where
419 R: req::Request, 416 R: req::Request,
420 R::Params: DeserializeOwned + Send + 'static, 417 R::Params: DeserializeOwned + Send + 'static,