fix clippy (#1698)

This commit is contained in:
Svyatoslav Nikolsky
2022-12-05 11:07:27 +03:00
committed by Bastian Köcher
parent 3eb24d4515
commit 66dfd2dcae
6 changed files with 10 additions and 28 deletions
@@ -495,8 +495,7 @@ fn validate_out_msgs_details<C: Chain>(
) -> Result<(), SubstrateError> {
let make_missing_nonce_error = |expected_nonce| {
Err(SubstrateError::Custom(format!(
"Missing nonce {} in message_details call result. Expected all nonces from {:?}",
expected_nonce, nonces,
"Missing nonce {expected_nonce} in message_details call result. Expected all nonces from {nonces:?}",
)))
};