From 7463f5debbefe02f2a6e9ad341def4ec57922de9 Mon Sep 17 00:00:00 2001 From: kjeremy Date: Wed, 27 Feb 2019 09:35:04 -0500 Subject: Fix the build --- crates/ra_lsp_server/tests/heavy_tests/support.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_lsp_server/tests/heavy_tests/support.rs b/crates/ra_lsp_server/tests/heavy_tests/support.rs index 11f94b4ab..f4e7eaf75 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/support.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/support.rs @@ -26,7 +26,9 @@ use ra_lsp_server::{ pub fn project(fixture: &str) -> Server { static INIT: Once = Once::new(); - INIT.call_once(|| Logger::with_env_or_str(crate::LOG).start().unwrap()); + INIT.call_once(|| { + let _ = Logger::with_env_or_str(crate::LOG).start().unwrap(); + }); let tmp_dir = TempDir::new().unwrap(); let mut paths = vec![]; -- cgit v1.2.3