Skip to content

Conversation

@nnethercote
Copy link
Contributor

Minor improvements I found while looking over this code.

r? @petrochenkov

It can be reduced to a `bool`, because we never check the contents of
the `Option`, just whether it's `Some` or `None`.
There are only two call sites, and three of the arguments are identical
at both call sites. This commit removes them and renames the method
accordingly.
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 11, 2025
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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants