Skip to content

Commit

Permalink
Add comment about fixed rustc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 8, 2024
1 parent f169069 commit 58bd8cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crossbeam-utils/src/atomic/atomic_cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pub struct AtomicCell<T> {
///
/// Using MaybeUninit to prevent code outside the cell from observing partially initialized state:
/// <https://github.com/crossbeam-rs/crossbeam/issues/833>
/// (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`.
Expand Down

0 comments on commit 58bd8cf

Please sign in to comment.