Replace FromVariant
with derive_more::from
#2308
Labels
good first issue
Good for newcomers
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
Refactor
Improvement to overall code quality
derive_more::from offers the same functionality as our
FromVariant
. Considering that we're making more and more use of thederive_more
we should remove our custom implementation in favor ofderive_more
.TryInto
/TryFrom
can also be derived to go from enum into one of it's variantsThe text was updated successfully, but these errors were encountered: