diff --git a/r9/src/listhead.rs b/r9/src/listhead.rs index d877a96..9a21544 100644 --- a/r9/src/listhead.rs +++ b/r9/src/listhead.rs @@ -13,9 +13,6 @@ pub struct ListHead { _self_wp: Weak::>, } -unsafe impl Send for ListHead {} -unsafe impl Sync for ListHead {} - impl ListHead { fn new(data: Weak::>) -> Rc::> { diff --git a/r9/src/queue.rs b/r9/src/queue.rs index 268e2e3..0bbde69 100644 --- a/r9/src/queue.rs +++ b/r9/src/queue.rs @@ -14,9 +14,6 @@ pub struct Queue { pub work_list: Mutex>>>, } -unsafe impl Send for Queue {} -unsafe impl Sync for Queue {} - impl Queue { pub fn new() -> Rc::> {