mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Remove explicit generic type parameter
This commit is contained in:
parent
b5a7cb331f
commit
a1773f8a67
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue