Function safemem::prepend[][src]

pub fn prepend<T: Copy>(elems: &[T], vec: &mut Vec<T>)
Expand description

Prepend elems to vec, resizing if necessary.

###Panics If vec.len() + elems.len() overflows.