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
@@ -353,8 +353,8 @@ fn generate_piecewise_linear(points: Vec<(u32, u32)>) -> TokenStream2 {
for (x, y) in points {
let error = || {
panic!(
"Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \
because of point:
"Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] because \
of point:
x = {:07} per million
y = {:07} per million",
x, y