Open Erigara opened 8 months ago
This could be improved by using constructor `fn new(inner: impl Into<Box<str>>)`.
I will extract it into separate good first issue.
_Originally posted by @Erigara in https://github.com/hyperledger/iroha/pull/4185#discussion_r1450199917_
Idea is to remove redundant clone by directly convert from String to Box<str>.
String
Box<str>
remove custom Decode implementation for ChainId after this PR is merged
Decode
ChainId
@mversic oh it will be much better solution
I will extract it into separate good first issue.
_Originally posted by @Erigara in https://github.com/hyperledger/iroha/pull/4185#discussion_r1450199917_
Idea is to remove redundant clone by directly convert from
String
toBox<str>
.