Skip to content

Conversation

@jaboatman
Copy link
Contributor

@jaboatman jaboatman commented Oct 23, 2024

The check for labelDetailsSupport only checks for non-None, which means setting labelDetailsSupport: false incorrectly treats it as being supported.

For context: mrcjkb/rustaceanvim#414

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 23, 2024
@lnicola
Copy link
Member

lnicola commented Oct 23, 2024

Thanks! But let's remove the as_ref and do == Some(true) like above, it's a bit tidier.

@jaboatman
Copy link
Contributor Author

Thanks! But let's remove the as_ref and do == Some(true) like above, it's a bit tidier.

Sure, no problem. Done.

@lnicola lnicola enabled auto-merge October 23, 2024 18:23
@lnicola lnicola added this pull request to the merge queue Oct 23, 2024
Merged via the queue into rust-lang:master with commit f0f2605 Oct 23, 2024
9 checks passed
@lnicola lnicola changed the title Fix checking for false labelDetailsSupport value. fix: Fix checking for false labelDetailsSupport value. Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants