From de1cd645c7263a7169beed9b0074141c25ae6d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Sat, 17 Dec 2022 18:53:06 +0100 Subject: [PATCH] Mention ExclusiveCell in the docs. --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 30c262d..0860ecc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -62,6 +62,10 @@ //! assert_eq!("Ferris", MAP.get(&42).unwrap()); //! ``` //! +//! # Accessing Static Data Mutably +//! +//! There is [`ExclusiveCell`] for safely accessing static data mutable _once_. +//! //! # Type Definitions //! //! This crate provides a lot of type definitions for ease of use: