Rollup merge of #111707 - nnethercote:rm-WorkerLocal-Vec, r=compiler-errors
Remove unused `impl<T> WorkerLocal<Vec<T>>`. cc ``@SparrowLii`` ``@Zoxc``
This commit is contained in:
commit
ad214ac02b
@ -154,13 +154,6 @@ pub fn into_inner(self) -> impl Iterator<Item = 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user