Skip to content

Commit

Permalink
Merge pull request #269 from DaniPopes/from-bool
Browse files Browse the repository at this point in the history
feat: implement TryFrom<bool>
  • Loading branch information
gakonst authored Jul 25, 2023
2 parents a172793 + af00163 commit 36480e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Introduce `ark-ff-04` feature flag for conversion to `[email protected]` types.
- Support for [`alloy-rlp`](https://github.com/alloy-rs/rlp)
- MSRV (Minimum Supported Rust Version) is now set at 1.65.0, from previously undefined.
- Implement `TryFrom<bool>` for `Uint`

### Changed

Expand Down
1 change: 1 addition & 0 deletions src/from.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ macro_rules! impl_from_unsigned_int {
};
}

impl_from_unsigned_int!(bool);
impl_from_unsigned_int!(u8);
impl_from_unsigned_int!(u16);
impl_from_unsigned_int!(u32);
Expand Down

0 comments on commit 36480e3

Please sign in to comment.