custom encode/decode #476
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (2)
multisig/tests/multisig_setup/mod.rs|115 col 18| warning: the loop variable i
is only used to index oracles
--> multisig/tests/multisig_setup/mod.rs:115:18
|
115 | for i in 0..2 {
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
= note: #[warn(clippy::needless_range_loop)]
on by default
help: consider using an iterator
|
115 | for in oracles.iter().take(2) {
| ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
multisig/tests/multisig_setup/mod.rs|123 col 18| warning: the loop variable i
is only used to index oracles
--> multisig/tests/multisig_setup/mod.rs:123:18
|
123 | for i in 0..2 {
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
help: consider using an iterator
|
123 | for in oracles.iter().take(2) {
| ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
Filtered Findings (0)
Annotations
Check warning on line 115 in multisig/tests/multisig_setup/mod.rs
github-actions / clippy
[clippy] multisig/tests/multisig_setup/mod.rs#L115
warning: the loop variable `i` is only used to index `oracles`
--> multisig/tests/multisig_setup/mod.rs:115:18
|
115 | for i in 0..2 {
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
= note: `#[warn(clippy::needless_range_loop)]` on by default
help: consider using an iterator
|
115 | for <item> in oracles.iter().take(2) {
| ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
Raw output
multisig/tests/multisig_setup/mod.rs:115:18:w:warning: the loop variable `i` is only used to index `oracles`
--> multisig/tests/multisig_setup/mod.rs:115:18
|
115 | for i in 0..2 {
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
= note: `#[warn(clippy::needless_range_loop)]` on by default
help: consider using an iterator
|
115 | for <item> in oracles.iter().take(2) {
| ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
__END__
Check warning on line 123 in multisig/tests/multisig_setup/mod.rs
github-actions / clippy
[clippy] multisig/tests/multisig_setup/mod.rs#L123
warning: the loop variable `i` is only used to index `oracles`
--> multisig/tests/multisig_setup/mod.rs:123:18
|
123 | for i in 0..2 {
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
help: consider using an iterator
|
123 | for <item> in oracles.iter().take(2) {
| ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
Raw output
multisig/tests/multisig_setup/mod.rs:123:18:w:warning: the loop variable `i` is only used to index `oracles`
--> multisig/tests/multisig_setup/mod.rs:123:18
|
123 | for i in 0..2 {
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
help: consider using an iterator
|
123 | for <item> in oracles.iter().take(2) {
| ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
__END__