Skip to content

Commit e688eb6

Browse files
authored
Merge pull request #2 from danielhenrymantilla/patch-1
Remove the `T : Send` bound for `SyncWrapper` to be `Sync`
2 parents 0d49651 + b911fe5 commit e688eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ impl<T> SyncWrapper<T> {
123123

124124
// this is safe because the only operations permitted on this data structure require exclusive
125125
// access or ownership
126-
unsafe impl<T: Send> Sync for SyncWrapper<T> {}
126+
unsafe impl<T> Sync for SyncWrapper<T> {}

0 commit comments

Comments
 (0)