Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update bits.md
  • Loading branch information
nnsW3 authored Aug 23, 2024
commit d2bec5ff0b52016cc1cfd50c8c259e04d235daaf
2 changes: 1 addition & 1 deletion documentation/src/crates/primitives/bits.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The `AsRef` and `Deref` traits from `derive_more` crate are derived for both of

The `Arbitrary` trait from the `arbitrary` crate and the `PropTestArbitrary` trait from `proptest_derive` crate are derived conditionally when either testing or the "arbitrary" feature is enabled.

The code also provides conversions between `B256`, `Address` and various other types such as `u64`, `primitive_types::H256`, `primitive_types::H160`, `primitive_types::U256`, and `ruint::aliases::U256`. The `impl` From blocks specify how to convert from one type to another.
The code also provides conversions between `B256`, `Address` and various other types such as `u64`, `primitive_types::H256`, `primitive_types::H160`, `primitive_types::U256`, and `ruint::aliases::U256`. The `impl` From blocks specifies how to convert from one type to another.

`impl_fixed_hash_conversions!` macro is used to define conversions between `B256` and `Address` types.

Expand Down