Remove explicit generic type parameter

This commit is contained in:
veetaha 2020-04-04 16:12:09 +03:00
parent b5a7cb331f
commit a1773f8a67

View file

@ -120,7 +120,7 @@ impl Config {
set(value, "/withSysroot", &mut self.with_sysroot); set(value, "/withSysroot", &mut self.with_sysroot);
set(value, "/featureFlags/lsp.diagnostics", &mut self.publish_diagnostics); set(value, "/featureFlags/lsp.diagnostics", &mut self.publish_diagnostics);
set(value, "/lruCapacity", &mut self.lru_capacity); set(value, "/lruCapacity", &mut self.lru_capacity);
self.files.watcher = match get::<&str>(value, "/files/watcher") { self.files.watcher = match get(value, "/files/watcher") {
Some("client") => FilesWatcher::Client, Some("client") => FilesWatcher::Client,
Some("notify") | _ => FilesWatcher::Notify Some("notify") | _ => FilesWatcher::Notify
}; };