fn try_delete_vec_range<T: Clone>( current: &[T], try_candidate: impl FnMut(Vec<T>) -> bool, ) -> bool