Skip to content

Commit

Permalink
Merge pull request #606 from Sky9x/unsound-sync :major:
Browse files Browse the repository at this point in the history
fix unsound Sync impl for atomic_queue::Queue
  • Loading branch information
yamadapc authored Dec 7, 2023
2 parents 964f315 + d9686e8 commit b4e5459
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 b4e5459

Please sign in to comment.