Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Improve input validation in bootstrap.sh and refactor bit_t…
…raits.rs (#9406) - Improved the input validation logic for the 'clean' command in `bootstrap.sh` to accept various forms of confirmation such as 'y', 'Y', 'yes', and 'YES'. - Refactored `bit_traits.rs` to reduce code duplication and improve efficiency: - Utilized `leading_zeros()` to optimize the `get_msb` function. - Implemented a generalized `BitsQueryable` trait for numeric types, reducing the need for multiple implementations. - Maintained individual implementations for `FieldElement` and `MemoryAddress` to prevent type-related issues. --------- Co-authored-by: Facundo <[email protected]>
- Loading branch information