Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Jan 23, 2024
1 parent b638d7b commit 3f5cb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pil_analyzer/src/evaluator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ mod internal {
)))?
},
BuiltinFunction::ToFe => match arguments.pop().unwrap().as_ref() {
Value::FieldElement(x) => Value::FieldElement(x.clone()),
Value::FieldElement(x) => Value::FieldElement(*x),
Value::Integer(x) => Value::FieldElement(if let Some(x) = x.to_biguint() {
if x < T::modulus().to_arbitrary_integer() {
T::from(x)
Expand Down

0 comments on commit 3f5cb2a

Please sign in to comment.