diff options
| author | bors <bors@rust-lang.org> | 2022-12-09 11:57:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-09 11:57:16 +0000 |
| commit | 17b5fdac0f4fe41c2ee381ef395ad1844b8b55b8 (patch) | |
| tree | 339159a9ae3551297872a9a385bcba8dbbd9f174 /library/std/src/sync/mpmc/array.rs | |
| parent | 816ec1ba350a1749b61574c81326cb91ed80bb4e (diff) | |
| parent | 3ba51ac49861cb733661aae9895101a0f4fe5278 (diff) | |
| download | rust-17b5fdac0f4fe41c2ee381ef395ad1844b8b55b8.tar.gz rust-17b5fdac0f4fe41c2ee381ef395ad1844b8b55b8.zip | |
Auto merge of #2719 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'library/std/src/sync/mpmc/array.rs')
| -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. |
