mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Remove explicit generic type parameter
This commit is contained in:
@@ -120,7 +120,7 @@ pub fn update(&mut self, value: &serde_json::Value) {
|
||||
set(value, "/withSysroot", &mut self.with_sysroot);
|
||||
set(value, "/featureFlags/lsp.diagnostics", &mut self.publish_diagnostics);
|
||||
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("notify") | _ => FilesWatcher::Notify
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user