about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/sync
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-07-16 00:37:30 +0800
committercui fliter <imcusg@gmail.com>2023-07-31 16:13:02 +0800
commit88c7b16e03452bc6b9f62a7e93788f93b2a51a4f (patch)
treeab0de683aab46797fc91ab145a484df0f85f1409 /compiler/rustc_data_structures/src/sync
parent4d6e4260b2de66a356a2536320f339467dff0d2b (diff)
downloadrust-88c7b16e03452bc6b9f62a7e93788f93b2a51a4f.tar.gz
rust-88c7b16e03452bc6b9f62a7e93788f93b2a51a4f.zip
remove repetitive words
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'compiler/rustc_data_structures/src/sync')
-rw-r--r--compiler/rustc_data_structures/src/sync/worker_local.rs2
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> {}