Skip to content

Commit

Permalink
Merge pull request #390 from kuzeyardabulut/main
Browse files Browse the repository at this point in the history
RacyCell<T>: Data race allowed on T
  • Loading branch information
phil-opp committed Aug 4, 2023
2 parents c5e5ed2 + 3cec148 commit ef1d4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bios/common/src/racy_cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ impl<T> RacyCell<T> {
}

unsafe impl<T> Send for RacyCell<T> where T: Send {}
unsafe impl<T> Sync for RacyCell<T> {}
unsafe impl<T: Sync> Sync for RacyCell<T> {}

0 comments on commit ef1d4a9

Please sign in to comment.