diff options
Diffstat (limited to 'crates/gen_lsp_server/src/stdio.rs')
-rw-r--r-- | crates/gen_lsp_server/src/stdio.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/gen_lsp_server/src/stdio.rs b/crates/gen_lsp_server/src/stdio.rs index 3d8a1712a..35d8e46d0 100644 --- a/crates/gen_lsp_server/src/stdio.rs +++ b/crates/gen_lsp_server/src/stdio.rs | |||
@@ -4,8 +4,9 @@ use std::{ | |||
4 | }; | 4 | }; |
5 | 5 | ||
6 | use crossbeam_channel::{bounded, Receiver, Sender}; | 6 | use crossbeam_channel::{bounded, Receiver, Sender}; |
7 | use failure::bail; | ||
7 | 8 | ||
8 | use {RawMessage, Result}; | 9 | use crate::{RawMessage, Result}; |
9 | 10 | ||
10 | pub fn stdio_transport() -> (Receiver<RawMessage>, Sender<RawMessage>, Threads) { | 11 | pub fn stdio_transport() -> (Receiver<RawMessage>, Sender<RawMessage>, Threads) { |
11 | let (writer_sender, mut writer_receiver) = bounded::<RawMessage>(16); | 12 | let (writer_sender, mut writer_receiver) = bounded::<RawMessage>(16); |