Function uncons

Source
pub fn uncons<L: Cons>(list: L) -> (L::Head, L::Tail)
Expand description

Split a sequence of at least one item into a head and tail.