Skip to content

Commit

Permalink
Rollup merge of rust-lang#100608 - tshepang:needless-separation, r=Ta…
Browse files Browse the repository at this point in the history
…KO8Ki

needless separation of impl blocks
  • Loading branch information
matthiaskrgr authored Aug 17, 2022
2 parents c08511d + 3f379f6 commit a2a4651
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 a2a4651

Please sign in to comment.