Skip to content

Commit 911ab21

Browse files
authored
sync: add SetOnce (#7418)
1 parent 9e94fa7 commit 911ab21

File tree

6 files changed

+666
-0
lines changed

6 files changed

+666
-0
lines changed

tokio/src/sync/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,9 @@ cfg_sync! {
488488
mod once_cell;
489489
pub use self::once_cell::{OnceCell, SetError};
490490

491+
mod set_once;
492+
pub use self::set_once::{SetOnce, SetOnceError};
493+
491494
pub mod watch;
492495
}
493496

0 commit comments

Comments
 (0)