diff options
| author | Rageking8 <tomleetyt@gmail.com> | 2022-12-05 16:42:36 +0800 |
|---|---|---|
| committer | Rageking8 <tomleetyt@gmail.com> | 2022-12-05 16:42:36 +0800 |
| commit | 58110572fb23e0ad1944bdf3d8cdb3f84cb91aa2 (patch) | |
| tree | 0acd9bc67dd30cce5bfded6a32b2663f10f6bad1 /library/std/src/sync | |
| parent | b9341bfdb1dec09b49b1e7d01d7c4db0e2436737 (diff) | |
| download | rust-58110572fb23e0ad1944bdf3d8cdb3f84cb91aa2.tar.gz rust-58110572fb23e0ad1944bdf3d8cdb3f84cb91aa2.zip | |
fix dupe word typos
Diffstat (limited to 'library/std/src/sync')
| -rw-r--r-- | library/std/src/sync/mpmc/array.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/mpmc/array.rs b/library/std/src/sync/mpmc/array.rs index 4db7b4990b9..f71edc6c525 100644 --- a/library/std/src/sync/mpmc/array.rs +++ b/library/std/src/sync/mpmc/array.rs @@ -225,7 +225,7 @@ impl<T> Channel<T> { let slot = unsafe { self.buffer.get_unchecked(index) }; let stamp = slot.stamp.load(Ordering::Acquire); - // If the the stamp is ahead of the head by 1, we may attempt to pop. + // If the stamp is ahead of the head by 1, we may attempt to pop. if head + 1 == stamp { let new = if index + 1 < self.cap { // Same lap, incremented index. |
