Skip to content

Commit a2baba0

Browse files
committed
Fill-in tracking issue for feature("atomic_from_ptr")
1 parent 4a2c555 commit a2baba0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

library/core/src/sync/atomic.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ impl AtomicBool {
342342
/// * The value behind `ptr` must not be accessed through non-atomic operations for the whole lifetime `'a`.
343343
///
344344
/// [valid]: crate::ptr#safety
345-
#[unstable(feature = "atomic_from_ptr", issue = "none")]
346-
#[rustc_const_unstable(feature = "atomic_from_ptr", issue = "none")]
345+
#[unstable(feature = "atomic_from_ptr", issue = "108652")]
346+
#[rustc_const_unstable(feature = "atomic_from_ptr", issue = "108652")]
347347
pub const unsafe fn from_ptr<'a>(ptr: *mut bool) -> &'a AtomicBool {
348348
// SAFETY: guaranteed by the caller
349349
unsafe { &*ptr.cast() }
@@ -1098,8 +1098,8 @@ impl<T> AtomicPtr<T> {
10981098
/// * The value behind `ptr` must not be accessed through non-atomic operations for the whole lifetime `'a`.
10991099
///
11001100
/// [valid]: crate::ptr#safety
1101-
#[unstable(feature = "atomic_from_ptr", issue = "none")]
1102-
#[rustc_const_unstable(feature = "atomic_from_ptr", issue = "none")]
1101+
#[unstable(feature = "atomic_from_ptr", issue = "108652")]
1102+
#[rustc_const_unstable(feature = "atomic_from_ptr", issue = "108652")]
11031103
pub const unsafe fn from_ptr<'a>(ptr: *mut *mut T) -> &'a AtomicPtr<T> {
11041104
// SAFETY: guaranteed by the caller
11051105
unsafe { &*ptr.cast() }
@@ -2085,8 +2085,8 @@ macro_rules! atomic_int {
20852085
/// * The value behind `ptr` must not be accessed through non-atomic operations for the whole lifetime `'a`.
20862086
///
20872087
/// [valid]: crate::ptr#safety
2088-
#[unstable(feature = "atomic_from_ptr", issue = "none")]
2089-
#[rustc_const_unstable(feature = "atomic_from_ptr", issue = "none")]
2088+
#[unstable(feature = "atomic_from_ptr", issue = "108652")]
2089+
#[rustc_const_unstable(feature = "atomic_from_ptr", issue = "108652")]
20902090
pub const unsafe fn from_ptr<'a>(ptr: *mut $int_type) -> &'a $atomic_type {
20912091
// SAFETY: guaranteed by the caller
20922092
unsafe { &*ptr.cast() }

0 commit comments

Comments
 (0)