1
Fork 0

needless separation of impl blocks

This commit is contained in:
Tshepang Mbambo 2022-08-16 03:46:45 +02:00
parent 40336865fe
commit 3f379f6df5

View file

@ -56,9 +56,7 @@ cfg_if! {
pub fn new(v: T) -> Self {
Atomic(Cell::new(v))
}
}
impl<T: Copy> Atomic<T> {
#[inline]
pub fn into_inner(self) -> T {
self.0.into_inner()