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