We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af68803 + 042d157 commit caa52c4Copy full SHA for caa52c4
crossbeam-utils/src/atomic/atomic_cell.rs
@@ -23,8 +23,7 @@ use super::seq_lock::SeqLock;
23
/// [`AtomicCell::<T>::is_lock_free()`]: struct.AtomicCell.html#method.is_lock_free
24
/// [`Acquire`]: https://doc.rust-lang.org/std/sync/atomic/enum.Ordering.html#variant.Acquire
25
/// [`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)]`.
+#[repr(transparent)]
28
pub struct AtomicCell<T: ?Sized> {
29
/// The inner value.
30
///
0 commit comments