pub fn rand_nonempty<R : Rng>(rng : &mut R, alt_count : u32) -> AltSet {
        loop {
            let result = AltSet::rand_possibly_empty(rng, alt_count);
            if result.view().is_nonempty() {
                return result;
            }

            // otherwise try again
        }
    }
/// will never generate an empty set
will never generate an empty set
will never generate an empty set
pub fn rand_nonempty<R : Rng>(rng : &mut R, alt_count : u32) -> AltSet {
        loop {
            let result = AltSet::rand_possibly_empty(rng, alt_count);
            if result.view().is_nonempty() {
                return result;
            }
            // otherwise try again
        }
    }
pub fn rand_nonempty < R : Rng > ( rng : & mut R , alt_count : u32 ) -> AltSet { loop { let result = AltSet :: rand_possibly_empty ( rng , alt_count ) ; if result . view ( ) . is_nonempty ( ) { return result ; } // otherwise try again } }
will never generate an empty set
will never generate an empty set
rng
&mut R
alt_count
u32
rng
&mut R
alt_count
u32