From 28ddecf6c99ef23bc96b9eb7bc8ee049f1732e76 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 6 Dec 2018 21:16:37 +0300 Subject: modernize even more --- crates/gen_lsp_server/src/stdio.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/gen_lsp_server/src/stdio.rs') 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::{ }; use crossbeam_channel::{bounded, Receiver, Sender}; +use failure::bail; -use {RawMessage, Result}; +use crate::{RawMessage, Result}; pub fn stdio_transport() -> (Receiver, Sender, Threads) { let (writer_sender, mut writer_receiver) = bounded::(16); -- cgit v1.2.3