From b0be4207d04b65580e7af10cb256ddd5d9ca006d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 15 Jun 2019 16:29:23 +0300 Subject: reuse AnalysisHost in batch analysis --- crates/ra_lsp_server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_lsp_server') diff --git a/crates/ra_lsp_server/src/main.rs b/crates/ra_lsp_server/src/main.rs index 7ed35c24a..4aadb5ea8 100644 --- a/crates/ra_lsp_server/src/main.rs +++ b/crates/ra_lsp_server/src/main.rs @@ -17,7 +17,7 @@ fn main() -> Result<()> { Err(_) => ra_prof::Filter::disabled(), }); log::info!("lifecycle: server started"); - match ::std::panic::catch_unwind(main_inner) { + match std::panic::catch_unwind(main_inner) { Ok(res) => { log::info!("lifecycle: terminating process with {:?}", res); res -- cgit v1.2.3