Skip to content

Commit a229bc8

Browse files
authored
Merge pull request #18716 from Veykril/push-lyxuzrnkmklp
fix: Consider both completion detail fields in to_proto
2 parents e1b7d77 + e89d720 commit a229bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)