Skip to content

Commit 7cc2569

Browse files
committed
Add tracking issue number for atomic_from_mut.
1 parent 09fff5f commit 7cc2569

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: library/core/src/sync/atomic.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ impl AtomicBool {
373373
/// assert_eq!(some_bool, false);
374374
/// ```
375375
#[inline]
376-
#[unstable(feature = "atomic_from_mut", issue = "none")]
376+
#[unstable(feature = "atomic_from_mut", issue = "76314")]
377377
pub fn from_mut(v: &mut bool) -> &Self {
378378
// SAFETY: the mutable reference guarantees unique ownership, and
379379
// alignment of both `bool` and `Self` is 1.
@@ -950,7 +950,7 @@ impl<T> AtomicPtr<T> {
950950
/// assert_eq!(unsafe { *some_ptr }, 456);
951951
/// ```
952952
#[inline]
953-
#[unstable(feature = "atomic_from_mut", issue = "none")]
953+
#[unstable(feature = "atomic_from_mut", issue = "76314")]
954954
pub fn from_mut(v: &mut *mut T) -> &Self {
955955
let [] = [(); align_of::<Self>() - align_of::<*mut T>()];
956956
// SAFETY:
@@ -1438,7 +1438,7 @@ assert_eq!(some_int, 100);
14381438
"),
14391439
#[inline]
14401440
$(#[cfg($from_mut_cfg)])?
1441-
#[unstable(feature = "atomic_from_mut", issue = "none")]
1441+
#[unstable(feature = "atomic_from_mut", issue = "76314")]
14421442
pub fn from_mut(v: &mut $int_type) -> &Self {
14431443
let [] = [(); align_of::<Self>() - align_of::<$int_type>()];
14441444
// SAFETY:

0 commit comments

Comments
 (0)