Skip to content

Commit

Permalink
style: address clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mellowcroc committed Feb 4, 2025
1 parent d283d3a commit a6bb079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/cairo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ pub fn run_cairo0(
let program = Program::from_file(&prove_args.cairo_program, Some("main"))?;
let program_input = if let Some(program_input_file) = prove_args.program_input_file.clone() {
let program_input_file_str = std::fs::read_to_string(program_input_file)?;
let program_input =
serde_json::from_str::<HashMap<String, serde_json::Value>>(&program_input_file_str)?;
program_input
serde_json::from_str::<HashMap<String, serde_json::Value>>(&program_input_file_str)?
} else {
HashMap::new()
};
Expand Down
1 change: 1 addition & 0 deletions src/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ fn run_stone_prover_internal(
Ok(())
}

#[allow(clippy::too_many_arguments)]
fn run_prover_from_command_line_with_annotations(
public_input_file: &PathBuf,
private_input_file: &PathBuf,
Expand Down

0 comments on commit a6bb079

Please sign in to comment.