Skip to content

Commit 2b38cb9

Browse files
committed
add experimental oneshot channel
The `oneshot` channel is gated under the `oneshot_channel` feature.
1 parent cb6785f commit 2b38cb9

File tree

2 files changed

+467
-0
lines changed

2 files changed

+467
-0
lines changed

library/std/src/sync/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ pub use self::poison::{MappedMutexGuard, MappedRwLockReadGuard, MappedRwLockWrit
224224
#[unstable(feature = "mpmc_channel", issue = "126840")]
225225
pub mod mpmc;
226226
pub mod mpsc;
227+
#[unstable(feature = "oneshot_channel", issue = "143674")]
228+
pub mod oneshot;
227229

228230
#[unstable(feature = "sync_poison_mod", issue = "134646")]
229231
pub mod poison;

0 commit comments

Comments
 (0)