Skip to content

Commit 364fbd7

Browse files
committed
Simplify config
1 parent 3f1f3a8 commit 364fbd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl Config {
132132
set(value, "/cargo/features", &mut self.cargo.features);
133133
set(value, "/cargo/loadOutDirsFromCheck", &mut self.cargo.load_out_dirs_from_check);
134134

135-
match get::<bool>(value, "/procMacro/enable") {
135+
match get(value, "/procMacro/enable") {
136136
Some(true) => {
137137
if let Ok(path) = std::env::current_exe() {
138138
self.proc_macro_srv = Some((path.to_string_lossy().to_string(), vec!["proc-macro".to_string()]));

0 commit comments

Comments
 (0)