We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Sync
mpsc::Sender
1 parent 7820972 commit 5f56956Copy full SHA for 5f56956
library/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