From 364fbd7fc780eb40cb2a51c6ac1646f7c7ab8bde Mon Sep 17 00:00:00 2001 From: veetaha Date: Thu, 23 Apr 2020 01:30:55 +0300 Subject: Simplify config --- crates/rust-analyzer/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index f60b805a4..fa0b1e226 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -132,7 +132,7 @@ impl Config { set(value, "/cargo/features", &mut self.cargo.features); set(value, "/cargo/loadOutDirsFromCheck", &mut self.cargo.load_out_dirs_from_check); - match get::(value, "/procMacro/enable") { + match get(value, "/procMacro/enable") { Some(true) => { if let Ok(path) = std::env::current_exe() { self.proc_macro_srv = Some((path.to_string_lossy().to_string(), vec!["proc-macro".to_string()])); -- cgit v1.2.3