From a5cf9d88c18f5682e139966f93e7eee2d71a5147 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 8 Dec 2024 17:11:48 +0900 Subject: [PATCH] Add comment about fixed rustc bug --- crossbeam-utils/src/atomic/atomic_cell.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crossbeam-utils/src/atomic/atomic_cell.rs b/crossbeam-utils/src/atomic/atomic_cell.rs index 1bb3c0aa6..93f0baa94 100644 --- a/crossbeam-utils/src/atomic/atomic_cell.rs +++ b/crossbeam-utils/src/atomic/atomic_cell.rs @@ -37,6 +37,8 @@ pub struct AtomicCell { /// Using MaybeUninit to prevent code outside the cell from observing partially initialized state: /// /// + /// This issue has been fixed in Rust 1.64. + /// /// Note: /// - we'll never store uninitialized `T` due to our API only using initialized `T`. /// - this `MaybeUninit` does *not* fix .