Function safemem::prepend
[−]
[src]
pub fn prepend<T: Copy>(elems: &[T], vec: &mut Vec<T>)
Prepend elems
to vec
, resizing if necessary.
###Panics
If vec.len() + elems.len()
overflows.