Skip to content

Conversation

matthiaskrgr
Copy link
Member

No description provided.

Comment on lines -107 to 110
let bottom_value_set = if A::BOTTOM_VALUE == true {
let bottom_value_set = if A::BOTTOM_VALUE {
BitSet::new_filled(bits_per_block)
} else {
BitSet::new_empty(bits_per_block)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @pnkfelix This feels like there should be a BitSet constructor that takes a bool and a count.

@eddyb
Copy link
Member

eddyb commented Feb 24, 2020

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 24, 2020

📌 Commit addd742 has been approved by eddyb

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Feb 24, 2020
bors added a commit that referenced this pull request Feb 25, 2020
Rollup of 6 pull requests

Successful merges:

 - #69220 (Add documentation for the `-Zself-profile` flag)
 - #69391 (Add rustdoc aliases to `ptr::copy` and `ptr::copy_nonoverlapping`)
 - #69427 (Cleanup e0368 e0369)
 - #69433 (don't explicitly compare against true or false)
 - #69435 (Replace uses of Cell::get + Cell::set with Cell::replace.)
 - #69437 (no more codegen for miri_start_panic)

Failed merges:

r? @ghost
@bors bors merged commit eda4489 into rust-lang:master Feb 25, 2020
@matthiaskrgr matthiaskrgr deleted the bool_cmp branch February 29, 2020 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants