Skip to content

Commit

Permalink
Remove |Sync| trait bound on |Send| impl.
Browse files Browse the repository at this point in the history
Closes #13.
  • Loading branch information
bholley committed Sep 29, 2021
1 parent 5a1fe43 commit ceb1512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -310,7 +310,7 @@ impl<'b> AtomicBorrowRefMut<'b> {
}
}

unsafe impl<T: ?Sized + Send + Sync> Send for AtomicRefCell<T> {}
unsafe impl<T: ?Sized + Send> Send for AtomicRefCell<T> {}
unsafe impl<T: ?Sized + Send + Sync> Sync for AtomicRefCell<T> {}

//
Expand Down

0 comments on commit ceb1512

Please sign in to comment.