Skip to content

Commit

Permalink
Remove to_u8.
Browse files Browse the repository at this point in the history
  • Loading branch information
thealmarty committed Apr 15, 2024
1 parent 1c1bc61 commit e92fc82
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions machine/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@ impl<F: PrimeField> Word<F> {
}
}

impl Word<u8> {
pub fn to_u8(self) -> u8 {
let result = self.0;
let byte = result[MEMORY_CELL_BYTES - 1];
byte
}
}


impl Into<u32> for Word<u8> {
fn into(self) -> u32 {
let mut result = 0u32;
Expand Down

0 comments on commit e92fc82

Please sign in to comment.