diff options
author | Aleksey Kladov <[email protected]> | 2018-08-29 16:03:14 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-29 16:03:14 +0100 |
commit | 8abf5363433e977c5393bb569e2a5d559cb0a602 (patch) | |
tree | 8bb7bc3097cb9e22af9e3be8605cb4745c2fae5f /crates/server/src/main.rs | |
parent | 2007ccfcfe0bf01c934589dd3c87fda83b06b272 (diff) |
Grand refactoring
Diffstat (limited to 'crates/server/src/main.rs')
-rw-r--r-- | crates/server/src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/server/src/main.rs b/crates/server/src/main.rs index 1a93af65b..6af8bf81b 100644 --- a/crates/server/src/main.rs +++ b/crates/server/src/main.rs | |||
@@ -35,7 +35,7 @@ use crossbeam_channel::bounded; | |||
35 | use flexi_logger::{Logger, Duplicate}; | 35 | use flexi_logger::{Logger, Duplicate}; |
36 | 36 | ||
37 | use ::{ | 37 | use ::{ |
38 | io::{Io, RawMsg, RawResponse, RawRequest, RawNotification}, | 38 | io::{Io, RawMsg, RawResponse, RawNotification}, |
39 | }; | 39 | }; |
40 | 40 | ||
41 | pub type Result<T> = ::std::result::Result<T, ::failure::Error>; | 41 | pub type Result<T> = ::std::result::Result<T, ::failure::Error>; |
@@ -109,7 +109,6 @@ fn initialize(io: &mut Io) -> Result<()> { | |||
109 | 109 | ||
110 | enum Task { | 110 | enum Task { |
111 | Respond(RawResponse), | 111 | Respond(RawResponse), |
112 | Request(RawRequest), | ||
113 | Notify(RawNotification), | 112 | Notify(RawNotification), |
114 | Die(::failure::Error), | 113 | Die(::failure::Error), |
115 | } | 114 | } |