Skip to content

Commit

Permalink
Rollup merge of #100608 - tshepang:needless-separation, r=TaKO8Ki
Browse files Browse the repository at this point in the history
needless separation of impl blocks
  • Loading branch information
matthiaskrgr committed Aug 17, 2022
2 parents 56b02b2 + 3f379f6 commit d956734
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/rustc_data_structures/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d956734

Please sign in to comment.