chore: add and !Sync impls for LocalWaker as a stability guarantee.
This commit is contained in:
parent
ad28f755d8
commit
3e373f5ee7
1 changed files with 5 additions and 0 deletions
|
|
@ -787,3 +787,8 @@ impl fmt::Debug for LocalWaker {
|
|||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[unstable(feature = "local_waker", issue = "118959")]
|
||||
impl !Send for LocalWaker {}
|
||||
#[unstable(feature = "local_waker", issue = "118959")]
|
||||
impl !Sync for LocalWaker {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue