Skip to content

Commit

Permalink
fix: remove unnecessary unsafe sync impls from Elem (risc0#383)
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Laub <[email protected]>
  • Loading branch information
austinabell and flaub authored Feb 18, 2023
1 parent b4533d7 commit f0eabc7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions risc0/core/src/field/baby_bear.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ pub struct Elem(u32);

pub type BabyBearElem = Elem;

// SAFETY: Elem simply holds a u32 primitive data type.
unsafe impl Send for Elem {}

// SAFETY: Elem simply holds a u32 primitive data type.
unsafe impl Sync for Elem {}

impl Default for Elem {
fn default() -> Self {
Self::ZERO
Expand Down

0 comments on commit f0eabc7

Please sign in to comment.