mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
chore: add and !Sync impls for LocalWaker as a stability guarantee.
This commit is contained in:
@@ -787,3 +787,8 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[unstable(feature = "local_waker", issue = "118959")]
|
||||
impl !Send for LocalWaker {}
|
||||
#[unstable(feature = "local_waker", issue = "118959")]
|
||||
impl !Sync for LocalWaker {}
|
||||
|
||||
Reference in New Issue
Block a user