Skip to content

use clap fork to properly parse hyphenated block ranges (#25) #73

use clap fork to properly parse hyphenated block ranges (#25)

use clap fork to properly parse hyphenated block ranges (#25) #73

GitHub Actions / clippy succeeded Aug 9, 2023 in 0s

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 (f88a8b71c 2023-08-08)
  • cargo 1.73.0-nightly (d78bbf4bd 2023-08-03)
  • clippy 0.1.73 (f88a8b7 2023-08-08)

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/f88a8b71cebb730cbd5058c45ebcae1d4d9be377/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/f88a8b71cebb730cbd5058c45ebcae1d4d9be377/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/f88a8b71cebb730cbd5058c45ebcae1d4d9be377/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/f88a8b71cebb730cbd5058c45ebcae1d4d9be377/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