diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/sync/atomic.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs index 91c02691568..cd3dd9ce139 100644 --- a/src/libcore/sync/atomic.rs +++ b/src/libcore/sync/atomic.rs @@ -927,7 +927,7 @@ impl<T> AtomicPtr<T> { } } -#[stable(feature = "atomic_from", since = "1.22.0")] +#[stable(feature = "atomic_from", since = "1.23.0")] impl<T> From<*mut T> for AtomicPtr<T> { #[inline] fn from(p: *mut T) -> Self { Self::new(p) } @@ -973,7 +973,7 @@ macro_rules! atomic_int { } } - #[stable(feature = "atomic_from", since = "1.22.0")] + #[stable(feature = "atomic_from", since = "1.23.0")] impl From<$int_type> for $atomic_type { #[inline] fn from(v: $int_type) -> Self { Self::new(v) } |
