We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d1aa0 commit 037d4ebCopy full SHA for 037d4eb
zephyr/src/work.rs
@@ -439,10 +439,6 @@ pub mod futures {
439
// SAFETY: The worker struct is explicitly safe to send by the Zephyr docs.
440
unsafe impl Send for WorkWaker {}
441
442
- // SAFETY: The work is _not_ actually Sync, and this needs to be fixed. However, as long as the
443
- // 'wake' method for WorkWaker panics, we can implement Sync.
444
- unsafe impl Sync for WorkWaker {}
445
-
446
impl Wake for Mutex<WorkWaker> {
447
fn wake(this: Arc<Self>) {
448
// At this point, it isn't safe to implement a delayed waker because delayed wakers will
0 commit comments