mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 22:33:06 +00:00
clippy
This commit is contained in:
parent
75cabedc38
commit
9222dafe6e
@ -368,8 +368,9 @@ impl<'a> Interpreter<'a> {
|
||||
fn run_addfp254(&mut self) {
|
||||
let x = self.pop();
|
||||
let y = self.pop();
|
||||
self.push(U256::try_from((x + y) % 101).unwrap());
|
||||
self.push((x + y) % 101);
|
||||
}
|
||||
|
||||
fn run_mulfp254(&mut self) {
|
||||
let x = self.pop();
|
||||
let y = self.pop();
|
||||
@ -379,7 +380,7 @@ impl<'a> Interpreter<'a> {
|
||||
fn run_subfp254(&mut self) {
|
||||
let x = self.pop();
|
||||
let y = self.pop();
|
||||
self.push(U256::try_from((U256::from(101) + x - y) % 101).unwrap());
|
||||
self.push((U256::from(101) + x - y) % 101);
|
||||
}
|
||||
|
||||
fn run_div(&mut self) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user