Returns true if the byte at `idx` in the original string equals `b`
(&self, idx: usize, b: u8)
| 62 | |
| 63 | /// Returns true if the byte at `idx` in the original string equals `b` |
| 64 | fn test(&self, idx: usize, b: u8) -> bool { |
| 65 | self.digits[idx] == b.wrapping_sub(b'0') |
| 66 | } |
| 67 | |
| 68 | /// Parses a date of the form `1997-01-31` |
| 69 | fn date(&self) -> Option<NaiveDate> { |
no test coverage detected