(&mut self, max_index: usize)
| 138 | /// Any existing elements are not modified. |
| 139 | #[inline] |
| 140 | pub fn grow_to(&mut self, max_index: usize) { |
| 141 | let words = max_index.div_ceil(Word::BITS as usize); |
| 142 | self.storage.resize(words, 0); |
| 143 | } |
| 144 | |
| 145 | /// Returns whether the set contains no elements. |
| 146 | #[inline] |
no outgoing calls
no test coverage detected