Skip to content

Conversation

joshtriplett
Copy link
Member

No description provided.

Rust supports converting a bool to a 0/1 integer via `as`, so we don't
need to use an if.
@alexcrichton alexcrichton merged commit 0313adc into rust-lang:master Dec 9, 2020
@joshtriplett joshtriplett deleted the opt-strict-object-creation branch December 13, 2020 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants