mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 09:21:05 +00:00
Fix tons of warnings in newest nightly (#2784)
* Fix tons of warnings in newest nightly * Fix sr-api-macro doc tests
This commit is contained in:
@@ -19,9 +19,9 @@ use super::Crypto;
|
||||
|
||||
fn good_waypoint(done: u64) -> u64 {
|
||||
match done {
|
||||
0 ... 1_000_000 => 100_000,
|
||||
0 ... 10_000_000 => 1_000_000,
|
||||
0 ... 100_000_000 => 10_000_000,
|
||||
0 ..= 1_000_000 => 100_000,
|
||||
0 ..= 10_000_000 => 1_000_000,
|
||||
0 ..= 100_000_000 => 10_000_000,
|
||||
_ => 100_000_000,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user