mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
Merge pull request #18716 from Veykril/push-lyxuzrnkmklp
fix: Consider both completion detail fields in to_proto
This commit is contained in:
commit
a229bc8e79
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue