diff options
| author | bors <bors@rust-lang.org> | 2023-07-31 21:48:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-31 21:48:00 +0000 |
| commit | db7ff98a72f3e742b641f9cb16d0e8c285e87e9b (patch) | |
| tree | 24307a4512118ef70aee32505f9bbb8e779a595d /compiler/rustc_data_structures/src | |
| parent | b3df56a65f9424a7f4af101091582f49cfc29286 (diff) | |
| parent | e981db05b558dcf5edb00a20da9ed76f2b4433f9 (diff) | |
| download | rust-db7ff98a72f3e742b641f9cb16d0e8c285e87e9b.tar.gz rust-db7ff98a72f3e742b641f9cb16d0e8c285e87e9b.zip | |
Auto merge of #114307 - matthiaskrgr:rollup-8k5rq16, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #112858 (Update Android system definitions and add riscv-linux-android as tier 3 target) - #113717 (remove repetitive words) - #113725 (Move MinGW linker dist option to proper section) - #113740 (Update `.gitmodules` to use shallow submodule clones) - #113889 (Fix ice tests when librustc-driver is linked dynamically) - #113906 (etc: add `RUSTC_BOOTSTRAP` to rust-analyzer config) - #113920 (fix(resolve): report unresolved imports firstly) - #114111 (Improve test case for experimental API remove_matches) 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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/sync/worker_local.rs b/compiler/rustc_data_structures/src/sync/worker_local.rs index d61bb55be68..8c84daf4f16 100644 --- a/compiler/rustc_data_structures/src/sync/worker_local.rs +++ b/compiler/rustc_data_structures/src/sync/worker_local.rs @@ -116,7 +116,7 @@ pub struct WorkerLocal<T> { // This is safe because the `deref` call will return a reference to a `T` unique to each thread // or it will panic for threads without an associated local. So there isn't a need for `T` to do -// it's own synchronization. The `verify` method on `RegistryId` has an issue where the the id +// it's own synchronization. The `verify` method on `RegistryId` has an issue where the id // can be reused, but `WorkerLocal` has a reference to `Registry` which will prevent any reuse. #[cfg(parallel_compiler)] unsafe impl<T: Send> Sync for WorkerLocal<T> {} |
