Skip to main content

span

Function span 

Source
pub fn span<A, P: Fn(&A) -> bool>(v: Vec<A>, pred: P) -> (Vec<A>, Vec<A>)
Expand description

Span: split into (take_while, drop_while).