mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Remove unused impl<T> WorkerLocal<Vec<T>>
.
This commit is contained in:
parent
ce5919fcef
commit
9bfb90b1be
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user