Skip to content

fix #31 state_diffs do not work for block 0 #82

fix #31 state_diffs do not work for block 0

fix #31 state_diffs do not work for block 0 #82

GitHub Actions / clippy succeeded Aug 17, 2023 in 1s

clippy

4 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 4
Note 0
Help 0

Versions

  • rustc 1.73.0-nightly (07438b092 2023-08-16)
  • cargo 1.73.0-nightly (7c3904d6c 2023-08-14)
  • clippy 0.1.73 (07438b0 2023-08-16)

Annotations

Check warning on line 55 in crates/cli/src/parse/blocks.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

explicit call to `.into_iter()` in function argument accepting `IntoIterator`

warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
  --> crates/cli/src/parse/blocks.rs:55:24
   |
55 |     file_chunks.extend(explicit_chunks.into_iter());
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `explicit_chunks`
   |
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
  --> /rustc/07438b0928c6691d6ee734a5a77823ec143be94d/library/core/src/iter/traits/collect.rs:371:18
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion

Check warning on line 48 in crates/cli/src/parse/blocks.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

explicit call to `.into_iter()` in function argument accepting `IntoIterator`

warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
  --> crates/cli/src/parse/blocks.rs:48:33
   |
48 |             block_chunks.extend(outputs.into_iter());
   |                                 ^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `outputs`
   |
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
  --> /rustc/07438b0928c6691d6ee734a5a77823ec143be94d/library/core/src/iter/traits/collect.rs:371:18
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
   = note: `#[warn(clippy::useless_conversion)]` on by default

Check warning on line 55 in crates/cli/src/parse/blocks.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

explicit call to `.into_iter()` in function argument accepting `IntoIterator`

warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
  --> crates/cli/src/parse/blocks.rs:55:24
   |
55 |     file_chunks.extend(explicit_chunks.into_iter());
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `explicit_chunks`
   |
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
  --> /rustc/07438b0928c6691d6ee734a5a77823ec143be94d/library/core/src/iter/traits/collect.rs:371:18
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion

Check warning on line 48 in crates/cli/src/parse/blocks.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

explicit call to `.into_iter()` in function argument accepting `IntoIterator`

warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
  --> crates/cli/src/parse/blocks.rs:48:33
   |
48 |             block_chunks.extend(outputs.into_iter());
   |                                 ^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `outputs`
   |
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
  --> /rustc/07438b0928c6691d6ee734a5a77823ec143be94d/library/core/src/iter/traits/collect.rs:371:18
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
   = note: `#[warn(clippy::useless_conversion)]` on by default