mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
Rewrite label_details_support
condition to be consistent with other parts of the codebase.
This commit is contained in:
parent
d5ca001578
commit
eed86dd597
1 changed files with 1 additions and 4 deletions
|
@ -210,10 +210,7 @@ impl ClientCapabilities {
|
|||
.completion_item
|
||||
.as_ref()?
|
||||
.label_details_support
|
||||
.as_ref()
|
||||
})()
|
||||
.copied()
|
||||
.unwrap_or_default()
|
||||
})() == Some(true)
|
||||
}
|
||||
|
||||
fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> {
|
||||
|
|
Loading…
Reference in a new issue