Unverified Commit c594b10a authored by Alexander Kalankhodzhaev's avatar Alexander Kalankhodzhaev Committed by GitHub
Browse files

Remove unnecessary cloning (#4263)

Seems like Externalities already [return a
vector](https://github.com/paritytech/polkadot-sdk/blob/ffbce2a817ec2e7c8b7ce49f7ed6794584f19667/substrate/primitives/externalities/src/lib.rs#L86

),
so calling `to_vec` on a vector just results in an unneeded copying.

Co-authored-by: default avatarLiam Aharon <[email protected]>
parent e0584a15
Pipeline #468911 passed with stages
in 1 hour, 20 minutes, and 34 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment