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:
SquirrelandAlexander Popiak authored and GitHub committed 2021-07-26 14:18:27 +01:00
1 parent ec047abbcf
commit 492523f1ae
18 files changed
+49 -58

No files matched your search

+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)