Skip to content

Commit caa52c4

Browse files
bors[bot]taiki-e
andauthored
Merge #436
436: Apply #[repr(transparent)] to AtomicCell r=stjepang a=taiki-e Co-authored-by: Taiki Endo <[email protected]>
2 parents af68803 + 042d157 commit caa52c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crossbeam-utils/src/atomic/atomic_cell.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ use super::seq_lock::SeqLock;
2323
/// [`AtomicCell::<T>::is_lock_free()`]: struct.AtomicCell.html#method.is_lock_free
2424
/// [`Acquire`]: https://doc.rust-lang.org/std/sync/atomic/enum.Ordering.html#variant.Acquire
2525
/// [`Release`]: https://doc.rust-lang.org/std/sync/atomic/enum.Ordering.html#variant.Release
26-
// TODO(@jeehoonkang): when the minimum supported Rust version is bumped to 1.28+, apply the
27-
// attribute `#[repr(transparent)]`.
26+
#[repr(transparent)]
2827
pub struct AtomicCell<T: ?Sized> {
2928
/// The inner value.
3029
///

0 commit comments

Comments
 (0)