Skip to content

Commit

Permalink
send/sync bound fix. fixes krl#2
Browse files Browse the repository at this point in the history
  • Loading branch information
JOE1994 committed Jan 23, 2021
1 parent 1591dcd commit 88b86e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/convec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pub struct ConVec<T> {
allocations: [UnsafeCell<Vec<T>>; 64],
}

unsafe impl<T> Sync for ConVec<T> {}
unsafe impl<T> Send for ConVec<T> {}
unsafe impl<T: Send + Sync> Sync for ConVec<T> {}
unsafe impl<T: Send> Send for ConVec<T> {}

impl<T> ConVec<T> {
pub fn new() -> Self {
Expand Down

0 comments on commit 88b86e2

Please sign in to comment.