about summary refs log tree commit diff
path: root/library/std/src/sync
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-03 06:05:41 +0200
committerGitHub <noreply@github.com>2024-09-03 06:05:41 +0200
commitafb92329dcce787337cc294b7c03b67630a9d5f3 (patch)
tree5e0c5e6b958ca2495b00cc670ea3bc1f12265630 /library/std/src/sync
parente9cd99670a9a7b67ef7c5795c46d06ab7a15f9ab (diff)
parent25c4aa8979a39ea7c6e7af57093be64c36936b2b (diff)
Rollup merge of #129885 - cuishuang:master, r=scottmcm
chore: remove repetitive words
Diffstat (limited to 'library/std/src/sync')
-rw-r--r--library/std/src/sync/reentrant_lock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/reentrant_lock.rs b/library/std/src/sync/reentrant_lock.rs
index 84a0b36db17..0b23681e907 100644
--- a/library/std/src/sync/reentrant_lock.rs
+++ b/library/std/src/sync/reentrant_lock.rs
@@ -136,7 +136,7 @@ cfg_if!(
             // match do we read out the actual TID.
             // Note also that we can use relaxed atomic operations here, because
             // we only ever read from the tid if `tls_addr` matches the current
-            // TLS address. In that case, either the the tid has been set by
+            // TLS address. In that case, either the tid has been set by
             // the current thread, or by a thread that has terminated before
             // the current thread was created. In either case, no further
             // synchronization is needed (as per <https://github.com/rust-lang/miri/issues/3450>)