Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/rust-analyzer/src/lsp/to_proto.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/lsp/to_proto.rs b/crates/rust-analyzer/src/lsp/to_proto.rs
index 06d02b63f2..38bb30c978 100644
--- a/crates/rust-analyzer/src/lsp/to_proto.rs
+++ b/crates/rust-analyzer/src/lsp/to_proto.rs
@@ -373,7 +373,7 @@ fn completion_item(
if config.completion_label_details_support() {
let has_label_details =
- item.label.detail_left.is_some() || item.label.detail_left.is_some();
+ item.label.detail_left.is_some() || item.label.detail_right.is_some();
if fields_to_resolve.resolve_label_details {
something_to_resolve |= has_label_details;
} else if has_label_details {