mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 01:11:04 +00:00
remove ambiguous into_iter (#4794)
This commit is contained in:
@@ -386,7 +386,7 @@ fn generate_test_module(input: &INposInput) -> TokenStream2 {
|
||||
|
||||
#[test]
|
||||
fn reward_curve_precision() {
|
||||
for &base in [MILLION, u32::max_value()].into_iter() {
|
||||
for &base in [MILLION, u32::max_value()].iter() {
|
||||
let number_of_check = 100_000.min(base);
|
||||
for check_index in 0..=number_of_check {
|
||||
let i = (check_index as u64 * base as u64 / number_of_check as u64) as u32;
|
||||
|
||||
Reference in New Issue
Block a user