Skip to content

Commit af00163

Browse files
committed
feat: implement TryFrom<bool>
1 parent a172793 commit af00163

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Introduce `ark-ff-04` feature flag for conversion to `ark-ff@0.4` types.
1313
- Support for [`alloy-rlp`](https://github.com/alloy-rs/rlp)
1414
- MSRV (Minimum Supported Rust Version) is now set at 1.65.0, from previously undefined.
15+
- Implement `TryFrom<bool>` for `Uint`
1516

1617
### Changed
1718

src/from.rs

+1
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ macro_rules! impl_from_unsigned_int {
382382
};
383383
}
384384

385+
impl_from_unsigned_int!(bool);
385386
impl_from_unsigned_int!(u8);
386387
impl_from_unsigned_int!(u16);
387388
impl_from_unsigned_int!(u32);

0 commit comments

Comments
 (0)