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
+1 -2
View File
@@ -108,8 +108,7 @@ fn slot_author<P: Pair>(slot: Slot, authorities: &[AuthorityId<P>]) -> Option<&A
);
let current_author = authorities.get(idx as usize).expect(
"authorities not empty; index constrained to list length;\
this is a valid index; qed",
"authorities not empty; index constrained to list length;this is a valid index; qed",
);
Some(current_author)