cargo::sources::registry::index

Function split

Source
fn split(haystack: &[u8], needle: u8) -> impl Iterator<Item = &[u8]>
Expand description

Like slice::split but is optimized by [memchr].