i have a function that takes a shared reference to a list of lists (this may either be on the heap or be static data)
depending on its other arguments, the function may index the outer list and clone one of the inner lists into a Vec.
i'm struggling to figure out the correct generic bounds. the problem is that &&[T] doesn't implement IntoIterator, but i need to use the &Vec<T> implementation of IntoIterator.