[][src]Function fallible_collections::vec::try_from_elem

pub fn try_from_elem<T: TryClone>(
    elem: T,
    n: usize
) -> Result<Vec<T>, TryReserveError>

try creating a vec from an elem cloned n times, see std::from_elem