replace Into<Self> bound with standalone function #14504
Labels
A-sdk
Related to reth's use as a library
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Milestone
Describe the feature
due to Into we can't use
&Self
as the compat typereth/crates/primitives-traits/src/serde_bincode_compat.rs
Lines 15 to 21 in 16c3c5b
similar limitation why we added
as_repr
, now we need to introduceand replace the Into bound with that, this way we can use &Self as the compat
TODO
from_repr(Self::BincodeRepr<'_>) -> Self
Additional context
No response
The text was updated successfully, but these errors were encountered: