Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l committed May 7, 2024
1 parent 36e7eee commit 2ddbe6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/concrete_driver/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub fn compile_program(

let input_file = test_dir_path.join(name).with_extension(".con");
std::fs::write(&input_file, source.input(&db))?;
program.file_path = Some(input_file);
program.file_path = Some(input_file.clone());

let output_file = test_dir_path.join(name);
let output_file = if library {
Expand All @@ -81,6 +81,7 @@ pub fn compile_program(
output_mlir: false,
output_ll: false,
output_asm: false,
file_paths: vec![input_file],
};

let program_ir = lower_programs(&[program])?;
Expand Down

0 comments on commit 2ddbe6b

Please sign in to comment.