Skip to content

Commit

Permalink
Require Send for T, because it could be consumed on any thread.
Browse files Browse the repository at this point in the history
  • Loading branch information
khuey committed Jun 10, 2018
1 parent 254a4fd commit 66bbfc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl<T, U> LazyTransform<T, U>
}

unsafe impl<T, U> Sync for LazyTransform<T, U>
where T: Sync,
where T: Sync + Send,
U: Sync
{
}
Expand Down

0 comments on commit 66bbfc2

Please sign in to comment.