since = "1.23.0"
This commit is contained in:
parent
80a3191215
commit
be21779072
1 changed files with 2 additions and 2 deletions
|
|
@ -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) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue