Function mako::batching::filter_by_length
source · [−]pub fn filter_by_length<T: Len>(
lists: &mut Vec<Vec<T>>,
min_length: Option<usize>,
max_length: Option<usize>
)
Expand description
Filters lists by a max length and returns the ones under the max