post rustfmt whitespace fixup (#9436)

Taking best bits of rustfmt's format_strings

Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>
This commit is contained in:
Squirrel
2021-07-26 14:18:27 +01:00
committed by GitHub
parent ec047abbcf
commit 492523f1ae
18 changed files with 49 additions and 58 deletions
@@ -157,8 +157,8 @@ pub(crate) fn balance_voter<AccountId: IdentifierT>(
let last_stake = elected_edges
.get(last_index)
.expect(
"length of elected_edges is greater than or equal 2; last_index index is at \
the minimum elected_edges.len() - 1; index is within range; qed",
"length of elected_edges is greater than or equal 2; last_index index is at the \
minimum elected_edges.len() - 1; index is within range; qed",
)
.candidate
.borrow()
@@ -30,8 +30,8 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
#[cfg(feature = "std")]
pub fn wasm_binary_unwrap() -> &'static [u8] {
WASM_BINARY.expect(
"Development wasm binary is not available. Testing is only \
supported with the flag disabled.",
"Development wasm binary is not available. Testing is only supported with the flag \
disabled.",
)
}