Skip to content

Commit

Permalink
chore: fix bound clippy complains about
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Oct 16, 2024
1 parent 8490c00 commit 4cd8a9c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tfhe/src/high_level_api/array/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,13 @@ where
+ FheDecrypt<Vec<Clear>>
+ BitOr<Array, Output = Array>
+ for<'a> BitOr<&'a Array, Output = Array>,
for<'a> &'a Array: BitOr<Array, Output = Array> + BitOr<&'a Array, Output = Array>,
for<'a> &'a Array: BitOr<Array, Output = Array>
+ BitOr<&'a Array, Output = Array>
+ BitOr<Array::Slice<'a>, Output = Array>,
// Bounds for slicing tests
for<'a, 'b> Array::Slice<'a>: BitOr<Array::Slice<'a>, Output = Array>,
// for the 2 tested slice/array ops
for<'a, 'b> Array::Slice<'a>: BitOr<&'b Array, Output = Array>,
for<'a, 'b> &'b Array: BitOr<Array::Slice<'a>, Output = Array>,
{
let num_values = 5;
let clear_lhs = draw_random_values::<Clear>(num_values);
Expand Down

0 comments on commit 4cd8a9c

Please sign in to comment.