about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/sync/atomic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs
index bf7251172e0..84c7f1aafe1 100644
--- a/library/core/src/sync/atomic.rs
+++ b/library/core/src/sync/atomic.rs
@@ -267,9 +267,9 @@ trait Sealed {}
     reason = "implementation detail which may disappear or be replaced at any time",
     issue = "none"
 )]
-#[allow(private_bounds)]
+#[expect(private_bounds)]
 pub unsafe trait AtomicPrimitive: Sized + Copy + Sealed {
-    #[doc(hidden)]
+    /// Temporary implementation detail.
     type AtomicInner: Sized;
 }