Skip to content

Commit

Permalink
fix unsound Sync impl for AtomicQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sky9x authored Dec 5, 2023
1 parent d341785 commit d9686e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/augmented/data/atomic-queue/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub struct Queue<T> {
}

unsafe impl<T: Send> Send for Queue<T> {}
unsafe impl<T> Sync for Queue<T> {}
unsafe impl<T: Send> Sync for Queue<T> {}

/// Alias for `Queue::new`, creates a new bounded `MPMC` queue with the given capacity.
///
Expand Down

0 comments on commit d9686e8

Please sign in to comment.