[][src]Function binjs_generic::util::pick

pub fn pick<'a, T: Rng, U>(rng: &mut T, slice: &'a [U]) -> &'a U

Return a random item from a slice.