mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-09 20:27:06 +00:00
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:
1 parent
ec047abbcf
commit
492523f1ae
18 files changed
+49
-58
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user