Skip to content

Commit d956734

Browse files
authored
Rollup merge of rust-lang#100608 - tshepang:needless-separation, r=TaKO8Ki
needless separation of impl blocks
2 parents 56b02b2 + 3f379f6 commit d956734

File tree

1 file changed

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

1 file changed

+0
-2
lines changed

Diff for: 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)