summaryrefslogtreecommitdiff
path: root/cli/lsp/tsc.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-12-19 20:22:17 -0500
committerGitHub <noreply@github.com>2022-12-19 20:22:17 -0500
commit54d40e008a0905a28569dbeb6f12a1a02189c217 (patch)
treedc2eced3167f153c50f8ef367b4c953f75ea7a3f /cli/lsp/tsc.rs
parent1e0017d8fc3a7ed0dd5775196a861d46caea5c33 (diff)
perf(lsp): concurrent reads and exclusive writes (#17135)
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r--cli/lsp/tsc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs
index 5d5b8213b..c6b5315e0 100644
--- a/cli/lsp/tsc.rs
+++ b/cli/lsp/tsc.rs
@@ -907,7 +907,7 @@ pub struct NavigateToItem {
impl NavigateToItem {
pub fn to_symbol_information(
&self,
- language_server: &mut language_server::Inner,
+ language_server: &language_server::Inner,
) -> Option<lsp::SymbolInformation> {
let specifier = normalize_specifier(&self.file_name).ok()?;
let asset_or_doc =