Skip to content

Commit e89d720

Browse files
committed
fix: Consider both completion detail fields in to_proto
1 parent 683150f commit e89d720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/lsp/to_proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ fn completion_item(
373373

374374
if config.completion_label_details_support() {
375375
let has_label_details =
376-
item.label.detail_left.is_some() || item.label.detail_left.is_some();
376+
item.label.detail_left.is_some() || item.label.detail_right.is_some();
377377
if fields_to_resolve.resolve_label_details {
378378
something_to_resolve |= has_label_details;
379379
} else if has_label_details {

0 commit comments

Comments
 (0)