Skip to content

Commit ea7e91c

Browse files
committed
Let compiler auto impl Send for Task
1 parent 55f3d10 commit ea7e91c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

std/src/sys/pal/sgx/thread.rs

-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ mod task_queue {
3232
done: JoinNotifier,
3333
}
3434

35-
unsafe impl Send for Task {}
36-
3735
impl Task {
3836
pub(super) fn new(p: Box<dyn FnOnce() + Send>) -> (Task, JoinHandle) {
3937
let (done, recv) = wait_notify::new();

0 commit comments

Comments
 (0)