pub fn random_cut_points<R>(rng: &mut R, length: usize) -> (usize, usize) where
    R: Rng + Sized
Expand description

Generates two cut points for a slice of given length using the given Prng. The first of the two returned cut points is always smaller than the second one.