reduces constant overhead
(
&self,
locs: &mut Locations,
text: &str,
start: usize,
)
| 391 | |
| 392 | #[inline(always)] // reduces constant overhead |
| 393 | fn captures_read_at( |
| 394 | &self, |
| 395 | locs: &mut Locations, |
| 396 | text: &str, |
| 397 | start: usize, |
| 398 | ) -> Option<(usize, usize)> { |
| 399 | self.0.captures_read_at(locs, text.as_bytes(), start) |
| 400 | } |
| 401 | } |
| 402 | |
| 403 | impl<'c> RegularExpression for ExecNoSync<'c> { |
nothing calls this directly
no test coverage detected