From 9bfb90b1bed203a6df2850173f6fb30464e99645 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 18 May 2023 13:14:45 +1000 Subject: [PATCH] Remove unused `impl WorkerLocal>`. --- compiler/rustc_data_structures/src/sync/worker_local.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/compiler/rustc_data_structures/src/sync/worker_local.rs b/compiler/rustc_data_structures/src/sync/worker_local.rs index bfb04ba8a73..d61bb55be68 100644 --- a/compiler/rustc_data_structures/src/sync/worker_local.rs +++ b/compiler/rustc_data_structures/src/sync/worker_local.rs @@ -154,13 +154,6 @@ impl WorkerLocal { } } -impl WorkerLocal> { - /// Joins the elements of all the worker locals into one Vec - pub fn join(self) -> Vec { - self.into_inner().into_iter().flat_map(|v| v).collect() - } -} - impl Deref for WorkerLocal { type Target = T;