diff options
| author | bors <bors@rust-lang.org> | 2021-09-01 06:13:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-09-01 06:13:15 +0000 |
| commit | 608b5e1c209ffb4d6d0cf83817c823b12bbb7659 (patch) | |
| tree | ca7f8941b59b8cec5b0ff28af68f7b581ea8cdd7 /compiler/rustc_codegen_llvm/src/asm.rs | |
| parent | c4f26b15e37101c54829efab456922a53e3103ad (diff) | |
| parent | e340a0e249c2efc069235c9db47e47c3e136570c (diff) | |
| download | rust-608b5e1c209ffb4d6d0cf83817c823b12bbb7659.tar.gz rust-608b5e1c209ffb4d6d0cf83817c823b12bbb7659.zip | |
Auto merge of #88272 - willcrichton:mutable-sparse-matrix, r=ecstatic-morse
Add bit removal methods to SparseBitMatrix and factor *BitSet relational methods into more extensible trait I need the ability to clear the bits out of a row from `SparseBitMatrix`. Currently, all the mutating methods only allow insertion of bits, and there is no way to get access to the underlying data. One approach is simply to make `ensure_row` public, since it grants `&mut` access to the underlying `HybridBitSet`. This PR adds the `pub` modifier. However, presumably this method was private for a reason, so I'm open to other designs. I would prefer general mutable access to the rows, because that way I can add many mutating operations (`clear`, `intersect`, etc.) without filing a PR each time :-) r? `@ecstatic-morse`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions
