(haystack: H, needles: N)
| 1462 | /// `needles` within `haystack`, if found, otherwise `None`. |
| 1463 | #[inline(always)] |
| 1464 | pub fn find_byte_from<H, N>(haystack: H, needles: N) -> Option<usize> |
| 1465 | where |
| 1466 | H: AsRef<[u8]>, |
| 1467 | N: AsRef<[u8]>, |
| 1468 | { |
| 1469 | find_byteset(haystack, Byteset::from(needles)) |
| 1470 | } |
| 1471 | |
| 1472 | /// Finds the index of the last character in `haystack` that is also present in `needles`. |
| 1473 | /// This can be used to find the last occurrence of any character from a specified set, |
no test coverage detected
searching dependent graphs…