Skip to content

Commit 9bfb90b

Browse files
committed
Remove unused impl<T> WorkerLocal<Vec<T>>.
1 parent ce5919f commit 9bfb90b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

compiler/rustc_data_structures/src/sync/worker_local.rs

-7
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,6 @@ impl<T> WorkerLocal<T> {
154154
}
155155
}
156156

157-
impl<T> WorkerLocal<Vec<T>> {
158-
/// Joins the elements of all the worker locals into one Vec
159-
pub fn join(self) -> Vec<T> {
160-
self.into_inner().into_iter().flat_map(|v| v).collect()
161-
}
162-
}
163-
164157
impl<T> Deref for WorkerLocal<T> {
165158
type Target = T;
166159

0 commit comments

Comments
 (0)