(&mut self, c: u8)
| 334 | /// Adds a byte to the set. |
| 335 | #[inline] |
| 336 | pub fn add_u8(&mut self, c: u8) { |
| 337 | let idx = (c >> 6) as usize; // Divide by 64. |
| 338 | let bit = c & 63; // Remainder modulo 64. |
| 339 | self.bits[idx] |= 1 << bit; |
| 340 | } |
| 341 | |
| 342 | /// Adds a character to the set. |
| 343 | /// |
no outgoing calls
no test coverage detected