aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-04-04 14:12:09 +0100
committerveetaha <[email protected]>2020-04-04 14:12:09 +0100
commita1773f8a6780d8e9f9953a50cfb6bdf43d37ee3a (patch)
tree747316148a41b189b2bdab7120121c7533cc549a
parentb5a7cb331fed8215caef3ae276bcb90b1cc59981 (diff)
Remove explicit generic type parameter
-rw-r--r--crates/rust-analyzer/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 113aa77af..b6a015790 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -120,7 +120,7 @@ impl Config {
120 set(value, "/withSysroot", &mut self.with_sysroot); 120 set(value, "/withSysroot", &mut self.with_sysroot);
121 set(value, "/featureFlags/lsp.diagnostics", &mut self.publish_diagnostics); 121 set(value, "/featureFlags/lsp.diagnostics", &mut self.publish_diagnostics);
122 set(value, "/lruCapacity", &mut self.lru_capacity); 122 set(value, "/lruCapacity", &mut self.lru_capacity);
123 self.files.watcher = match get::<&str>(value, "/files/watcher") { 123 self.files.watcher = match get(value, "/files/watcher") {
124 Some("client") => FilesWatcher::Client, 124 Some("client") => FilesWatcher::Client,
125 Some("notify") | _ => FilesWatcher::Notify 125 Some("notify") | _ => FilesWatcher::Notify
126 }; 126 };