Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
irfanbozkurt committed Oct 9, 2023
1 parent 1e3b069 commit 60a1d5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crypto/src/hash/pedersen/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl PedersenParameters<StarkCurve> {
let (points_p2, remaining) = remaining.split_at(4);
let (points_p3, points_p4) = remaining.split_at(248);

let curve_const_bits = 4;
let curve_const_bits = 4;
Self {
curve_const_bits,
table_size: (1 << curve_const_bits) - 1,
Expand All @@ -46,7 +46,9 @@ impl PedersenParameters<StarkCurve> {
}
}

fn parse_affine_points(field_elements_csv: &str) -> Vec<ShortWeierstrassProjectivePoint<StarkCurve>> {
fn parse_affine_points(
field_elements_csv: &str,
) -> Vec<ShortWeierstrassProjectivePoint<StarkCurve>> {
field_elements_csv
.split(',')
.collect::<Vec<&str>>()
Expand Down

0 comments on commit 60a1d5f

Please sign in to comment.