diff options
author | Aleksey Kladov <[email protected]> | 2018-12-06 18:03:39 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-06 18:03:39 +0000 |
commit | f6e8b376d1d21b8b697de5ef1e35a341855202ed (patch) | |
tree | 395282e236ea516d4ed57e4771d3aae4eba0029b /crates/ra_lsp_server/tests/heavy_tests | |
parent | e477b8745542d5ac85b2cbbb3be2eb0df22486cd (diff) |
modernize more
Diffstat (limited to 'crates/ra_lsp_server/tests/heavy_tests')
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/main.rs | 3 | ||||
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/support.rs | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/crates/ra_lsp_server/tests/heavy_tests/main.rs b/crates/ra_lsp_server/tests/heavy_tests/main.rs index bcb854fef..cbc0c8844 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/main.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/main.rs | |||
@@ -1,6 +1,3 @@ | |||
1 | #[macro_use] | ||
2 | extern crate crossbeam_channel; | ||
3 | |||
4 | mod support; | 1 | mod support; |
5 | 2 | ||
6 | use ra_lsp_server::req::{Runnables, RunnablesParams}; | 3 | use ra_lsp_server::req::{Runnables, RunnablesParams}; |
diff --git a/crates/ra_lsp_server/tests/heavy_tests/support.rs b/crates/ra_lsp_server/tests/heavy_tests/support.rs index 88d379bfa..019048a3a 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/support.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/support.rs | |||
@@ -6,7 +6,7 @@ use std::{ | |||
6 | time::Duration, | 6 | time::Duration, |
7 | }; | 7 | }; |
8 | 8 | ||
9 | use crossbeam_channel::{after, Receiver}; | 9 | use crossbeam_channel::{after, select, Receiver}; |
10 | use flexi_logger::Logger; | 10 | use flexi_logger::Logger; |
11 | use gen_lsp_server::{RawMessage, RawNotification, RawRequest}; | 11 | use gen_lsp_server::{RawMessage, RawNotification, RawRequest}; |
12 | use languageserver_types::{ | 12 | use languageserver_types::{ |