From d9686e8c99040c938a3ebbb8131dbbcd1de82a26 Mon Sep 17 00:00:00 2001 From: Sky Date: Tue, 5 Dec 2023 11:29:48 -0500 Subject: [PATCH] fix unsound Sync impl for AtomicQueue --- crates/augmented/data/atomic-queue/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/augmented/data/atomic-queue/src/lib.rs b/crates/augmented/data/atomic-queue/src/lib.rs index f73026c0ca6..5da6f705cb8 100644 --- a/crates/augmented/data/atomic-queue/src/lib.rs +++ b/crates/augmented/data/atomic-queue/src/lib.rs @@ -89,7 +89,7 @@ pub struct Queue { } unsafe impl Send for Queue {} -unsafe impl Sync for Queue {} +unsafe impl Sync for Queue {} /// Alias for `Queue::new`, creates a new bounded `MPMC` queue with the given capacity. ///