referrerpolicy=no-referrer-when-downgrade
pub fn choose_random_subset<T, F: FnMut(&T) -> bool>(
    is_priority: F,
    v: &mut Vec<T>,
    min: usize,
)
Expand description

Choose a random subset of min elements. But always include is_priority elements.