Skip to content

Commit a1773f8

Browse files
committed
Remove explicit generic type parameter
1 parent b5a7cb3 commit a1773f8

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
@@ -120,7 +120,7 @@ impl Config {
120120
set(value, "/withSysroot", &mut self.with_sysroot);
121121
set(value, "/featureFlags/lsp.diagnostics", &mut self.publish_diagnostics);
122122
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") {
124124
Some("client") => FilesWatcher::Client,
125125
Some("notify") | _ => FilesWatcher::Notify
126126
};

0 commit comments

Comments
 (0)