Rollup merge of #113717 - cuishuang:master, r=Nilstrieb
remove repetitive words
This commit is contained in:
commit
58f963fb65
5 changed files with 5 additions and 5 deletions
|
@ -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> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue