Remove unused impl<T> WorkerLocal<Vec<T>>.

This commit is contained in:
Nicholas Nethercote 2023-05-18 13:14:45 +10:00
parent ce5919fcef
commit 9bfb90b1be

View File

@ -154,13 +154,6 @@ impl<T> WorkerLocal<T> {
}
}
impl<T> WorkerLocal<Vec<T>> {
/// Joins the elements of all the worker locals into one Vec
pub fn join(self) -> Vec<T> {
self.into_inner().into_iter().flat_map(|v| v).collect()
}
}
impl<T> Deref for WorkerLocal<T> {
type Target = T;