diff --git a/src/lib.rs b/src/lib.rs index 3649294..4980372 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -185,6 +185,7 @@ impl ConstInitCell { } } + /// Try to take the `ConstInitCell`, returning None if it was already taken #[inline] #[allow(clippy::mut_from_ref)] pub fn try_take(&'static self) -> Option<&'static mut T> {