diff options
| author | bors <bors@rust-lang.org> | 2023-05-18 12:55:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-18 12:55:15 +0000 |
| commit | fdd030127cc68afec44a8d3f6341525dd34e50ae (patch) | |
| tree | 9841f89d8d129bcc28ee7c033669d0b25cb28cd4 /compiler/rustc_data_structures/src | |
| parent | ba6f5e3b4d60ea5a847cd4402cca594cd40b218f (diff) | |
| parent | ad214ac02b1188df56008b40b7c648a87081e815 (diff) | |
| download | rust-fdd030127cc68afec44a8d3f6341525dd34e50ae.tar.gz rust-fdd030127cc68afec44a8d3f6341525dd34e50ae.zip | |
Auto merge of #111721 - Dylan-DPC:rollup-9jw6b7k, r=Dylan-DPC
Rollup of 7 pull requests Successful merges: - #110986 (Delay a bug when overwriting fed value.) - #111054 (Do not recover when parsing stmt in cfg-eval.) - #111685 (Fix typo in bootstrap command description) - #111686 (Retire is_foreign_item query.) - #111695 (Exclude inherent projections from some alias type `match`es) - #111703 (Merge query property modules into one) - #111707 (Remove unused `impl<T> WorkerLocal<Vec<T>>`.) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/sync/worker_local.rs | 7 |
1 files changed, 0 insertions, 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<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; |
