Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Sep 20, 2024
1 parent 8c2cb9c commit 366549d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/ark-zkey/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "ark-zkey"
version = "0.1.0"
edition = "2021"
publish = false

[dependencies]
color-eyre = "0.6"
Expand Down
3 changes: 2 additions & 1 deletion src/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ pub fn zkey(depth: usize) -> &'static (ProvingKey<Bn254>, ConstraintMatrices<Fr>
#[must_use]
pub fn graph(depth: usize) -> &'static [u8] {
let index = get_depth_index(depth).unwrap_or_else(|| panic!("depth {depth} is not supported"));
&GRAPH_BYTES[index]

GRAPH_BYTES[index]
}

0 comments on commit 366549d

Please sign in to comment.