Skip to content

Commit

Permalink
fixed cargo warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio95 committed Mar 15, 2024
1 parent 8317da4 commit 2825ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/less_than.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn num_to_bits_le_bounded<F: PrimeField + PrimeFieldBits, CS: ConstraintSystem<F
.to_le_bits()
.into_iter()
.take(num_bits as usize)
.map(|b| Some(b))
.map(Some)
.collect::<Vec<Option<bool>>>(),
None => vec![None; num_bits as usize],
};
Expand Down

0 comments on commit 2825ea0

Please sign in to comment.