mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
fix: Consider both completion detail fields in to_proto
This commit is contained in:
parent
683150f4da
commit
e89d72056b
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