From f6e8b376d1d21b8b697de5ef1e35a341855202ed Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 6 Dec 2018 21:03:39 +0300 Subject: modernize more --- crates/ra_lsp_server/tests/heavy_tests/main.rs | 3 --- crates/ra_lsp_server/tests/heavy_tests/support.rs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'crates/ra_lsp_server/tests') 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 @@ -#[macro_use] -extern crate crossbeam_channel; - mod support; 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::{ time::Duration, }; -use crossbeam_channel::{after, Receiver}; +use crossbeam_channel::{after, select, Receiver}; use flexi_logger::Logger; use gen_lsp_server::{RawMessage, RawNotification, RawRequest}; use languageserver_types::{ -- cgit v1.2.3