Skip to content

Commit

Permalink
Appease Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
acoglio committed Oct 27, 2023
1 parent 58e03b2 commit ca3699d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuit/types/group/src/helpers/from_x_coordinate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl<E: Environment> Group<E> {
let order_bits_be = order.to_bits_be();
let mut order_bits_be_constants = Vec::new();
for bit in order_bits_be.iter() {
order_bits_be_constants.push(Boolean::constant(bit.clone()));
order_bits_be_constants.push(Boolean::constant(*bit));
}
let point1_times_order = order_bits_be_constants.mul(point1);
let point2_times_order = order_bits_be_constants.mul(point2);
Expand Down

0 comments on commit ca3699d

Please sign in to comment.