Fix clippy suggestions

Sergej Kostjucenko requested to merge aj/clippy into master

Created by: ascjones

Noticed causing https://github.com/paritytech/cargo-contract/pull/455 CI to fail.

Merge request reports