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.
Sync
mpsc::Sender
1 parent 4d20360 commit e0d8ab7Copy full SHA for e0d8ab7
std/src/sync/mpsc/mod.rs
@@ -347,8 +347,8 @@ pub struct Sender<T> {
347
#[stable(feature = "rust1", since = "1.0.0")]
348
unsafe impl<T: Send> Send for Sender<T> {}
349
350
-#[stable(feature = "rust1", since = "1.0.0")]
351
-impl<T> !Sync for Sender<T> {}
+#[stable(feature = "mpsc_sender_sync", since = "CURRENT_RUSTC_VERSION")]
+unsafe impl<T: Send> Sync for Sender<T> {}
352
353
/// The sending-half of Rust's synchronous [`sync_channel`] type.
354
///
0 commit comments