summaryrefslogtreecommitdiff
path: root/cli/lsp/tsc.rs
diff options
context:
space:
mode:
authorlinbingquan <695601626@qq.com>2022-12-18 06:20:15 +0800
committerGitHub <noreply@github.com>2022-12-17 23:20:15 +0100
commitf46df3e35940fc78163945eed33e58fafed0b06b (patch)
treec22233bf2019a254045ad0af533225d3f02a402f /cli/lsp/tsc.rs
parentf2c9cc500c84a3c6051823cd3ae33d6b4c1f6266 (diff)
chore: update to Rust 1.66.0 (#17078)
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 1152c080d..5d5b8213b 100644
--- a/cli/lsp/tsc.rs
+++ b/cli/lsp/tsc.rs
@@ -1969,7 +1969,7 @@ impl CompletionEntryDetails {
let detail = if original_item.detail.is_some() {
original_item.detail.clone()
} else if !self.display_parts.is_empty() {
- Some(replace_links(&display_parts_to_string(
+ Some(replace_links(display_parts_to_string(
&self.display_parts,
language_server,
)))