diff --git a/README.md b/README.md index b59c8ff..552f0a1 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ This crate provides the following primitives: * `Barrier` - enables tasks to synchronize all together at the same time. * `Mutex` - a mutual exclusion lock. +* `OnceCell` - a memory location that can be written to at most once. * `RwLock` - a reader-writer lock, allowing any number of readers or a single writer. * `Semaphore` - limits the number of concurrent operations. diff --git a/src/lib.rs b/src/lib.rs index fe81907..2bb8fe0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,6 +4,7 @@ //! //! * [`Barrier`] - enables tasks to synchronize all together at the same time. //! * [`Mutex`] - a mutual exclusion lock. +//! * [`OnceCell`] - a memory location that can be written to at most once. //! * [`RwLock`] - a reader-writer lock, allowing any number of readers or a single writer. //! * [`Semaphore`] - limits the number of concurrent operations. //!