-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Replace explicit if-elses with
FieldElement::from<bool>()
fo…
…r boolean fields (#1266) * chore: replace if-elses with `FieldElement::from<bool>()` * chore: replace explicit equality with usage of `is_zero()` * chore: replace explicit usage of `from` with `.into()`
- Loading branch information
1 parent
562c185
commit 62b7496
Showing
3 changed files
with
28 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters