diff options
author | kjeremy <[email protected]> | 2019-02-27 14:35:04 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-02-27 14:35:04 +0000 |
commit | 7463f5debbefe02f2a6e9ad341def4ec57922de9 (patch) | |
tree | 96b72727cb786e1a3be2a333da99cd7712c4dff2 | |
parent | 61a0d6ab8e8218dfec8315c0db86602f843cf445 (diff) |
Fix the build
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/support.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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::{ | |||
26 | 26 | ||
27 | pub fn project(fixture: &str) -> Server { | 27 | pub fn project(fixture: &str) -> Server { |
28 | static INIT: Once = Once::new(); | 28 | static INIT: Once = Once::new(); |
29 | INIT.call_once(|| Logger::with_env_or_str(crate::LOG).start().unwrap()); | 29 | INIT.call_once(|| { |
30 | let _ = Logger::with_env_or_str(crate::LOG).start().unwrap(); | ||
31 | }); | ||
30 | 32 | ||
31 | let tmp_dir = TempDir::new().unwrap(); | 33 | let tmp_dir = TempDir::new().unwrap(); |
32 | let mut paths = vec![]; | 34 | let mut paths = vec![]; |