Skip to content

Commit

Permalink
Use unreachable! instead of panic!
Browse files Browse the repository at this point in the history
I was hoping that this would exclude it from coverage, but it didn't.
  • Loading branch information
andyleiserson committed Feb 23, 2024
1 parent 79642a2 commit d47cb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipa-core/src/test_fixture/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pub async fn arithmetic<F, const N: usize>(
.collect::<Vec<_>>()
.try_into()
else {
panic!("infallible try_into array");
unreachable!("infallible try_into array");
};

let (res0, res1, res2) = join3(fut0, fut1, fut2).await;
Expand Down

0 comments on commit d47cb77

Please sign in to comment.