Skip to content

Commit 3f379f6

Browse files
committed
needless separation of impl blocks
1 parent 4033686 commit 3f379f6

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_data_structures/src

1 file changed

+0
-2
lines changed

compiler/rustc_data_structures/src/sync.rs

-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ cfg_if! {
5656
pub fn new(v: T) -> Self {
5757
Atomic(Cell::new(v))
5858
}
59-
}
6059

61-
impl<T: Copy> Atomic<T> {
6260
#[inline]
6361
pub fn into_inner(self) -> T {
6462
self.0.into_inner()

0 commit comments

Comments
 (0)