Skip to content

fix(ci): Remove container and downgrade to ubuntu 20 #1086

fix(ci): Remove container and downgrade to ubuntu 20

fix(ci): Remove container and downgrade to ubuntu 20 #1086

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

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.72.0 (5680fa18f 2023-08-23)
  • cargo 1.72.0 (103a7ff2e 2023-08-15)
  • clippy 0.1.72 (5680fa1 2023-08-23)

Annotations

Check warning on line 287 in rash_core/src/docopt/mod.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`
   --> rash_core/src/docopt/mod.rs:287:66
    |
287 |                         usages_iter = Box::new(usages_iter.chain(splitted.into_iter()))
    |                                                                  ^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `splitted`
    |
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
   --> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:522:12
    = 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 287 in rash_core/src/docopt/mod.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`
   --> rash_core/src/docopt/mod.rs:287:66
    |
287 |                         usages_iter = Box::new(usages_iter.chain(splitted.into_iter()))
    |                                                                  ^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `splitted`
    |
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
   --> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:522:12
    = 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