since = "1.23.0"

This commit is contained in:
M Farkas-Dyck 2017-10-31 11:15:10 -08:00
parent 80a3191215
commit be21779072

View file

@ -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) }