Rollup merge of #100608 - tshepang:needless-separation, r=TaKO8Ki
needless separation of impl blocks
This commit is contained in:
commit
d956734f9f
1 changed files with 0 additions and 2 deletions
|
@ -56,9 +56,7 @@ cfg_if! {
|
||||||
pub fn new(v: T) -> Self {
|
pub fn new(v: T) -> Self {
|
||||||
Atomic(Cell::new(v))
|
Atomic(Cell::new(v))
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
impl<T: Copy> Atomic<T> {
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn into_inner(self) -> T {
|
pub fn into_inner(self) -> T {
|
||||||
self.0.into_inner()
|
self.0.into_inner()
|
||||||
|
|
Loading…
Add table
Reference in a new issue