Skip to content

Commit

Permalink
Merge pull request rust-lang#18388 from jaboatman/master
Browse files Browse the repository at this point in the history
Fix checking for `false` `labelDetailsSupport` value.
  • Loading branch information
lnicola authored Oct 23, 2024
2 parents 7dad963 + bc6b2ec commit 6f8e75a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,7 @@ impl ClientCapabilities {
.completion_item
.as_ref()?
.label_details_support
.as_ref()
})()
.is_some()
})() == Some(true)
}

fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> {
Expand Down

0 comments on commit 6f8e75a

Please sign in to comment.