aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-10-22 23:00:42 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-10-22 23:00:42 +0100
commitfd7f6beedcf522db4c908661f3df48c23027fa32 (patch)
tree0a07f233bfe8ece1a318c310c510c2e866f940c0 /crates/ra_lsp_server/src/main_loop
parent27694abd9473c53cee4549dfe5ef5d28d0c01bed (diff)
parent652afa17ad616022383c82997be768b3ab56992e (diff)
Merge #152
152: Fix typo r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r--crates/ra_lsp_server/src/main_loop/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/mod.rs b/crates/ra_lsp_server/src/main_loop/mod.rs
index b35ebd38b..69dcc7e57 100644
--- a/crates/ra_lsp_server/src/main_loop/mod.rs
+++ b/crates/ra_lsp_server/src/main_loop/mod.rs
@@ -32,7 +32,7 @@ enum Task {
32pub fn main_loop( 32pub fn main_loop(
33 internal_mode: bool, 33 internal_mode: bool,
34 root: PathBuf, 34 root: PathBuf,
35 msg_receriver: &Receiver<RawMessage>, 35 msg_receiver: &Receiver<RawMessage>,
36 msg_sender: &Sender<RawMessage>, 36 msg_sender: &Sender<RawMessage>,
37) -> Result<()> { 37) -> Result<()> {
38 let pool = rayon::ThreadPoolBuilder::new() 38 let pool = rayon::ThreadPoolBuilder::new()
@@ -54,7 +54,7 @@ pub fn main_loop(
54 root, 54 root,
55 &pool, 55 &pool,
56 msg_sender, 56 msg_sender,
57 msg_receriver, 57 msg_receiver,
58 task_sender, 58 task_sender,
59 task_receiver.clone(), 59 task_receiver.clone(),
60 fs_worker, 60 fs_worker,