Bump actions/checkout from 4 to 5 #8
Annotations
8 warnings
|
this import is redundant:
src/cli.rs#L2
warning: this import is redundant
--> src/cli.rs:2:1
|
2 | use image2textart;
| ^^^^^^^^^^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
= note: `#[warn(clippy::single_component_path_imports)]` on by default
|
|
useless conversion to the same type: `image::Pixels<'_, image::DynamicImage>`:
src/lib.rs#L124
warning: useless conversion to the same type: `image::Pixels<'_, image::DynamicImage>`
--> src/lib.rs:124:18
|
124 | let pixels = converted_image
| __________________^
125 | | .pixels()
126 | | .into_iter()
| |____________________^
|
= 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
help: consider removing `.into_iter()`
|
124 ~ let pixels = converted_image
125 + .pixels()
|
|
|
field `3` is never read:
src/lib.rs#L37
warning: field `3` is never read
--> src/lib.rs:37:41
|
37 | pub struct Pixel(Coordinate, Char, RGB, Saturation);
| ----- field in this struct ^^^^^^^^^^
|
= help: consider removing this field
= note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
|
redundant field names in struct initialization:
src/lib.rs#L154
warning: redundant field names in struct initialization
--> src/lib.rs:154:9
|
154 | pixels: pixels,
| ^^^^^^^^^^^^^^ help: replace it with: `pixels`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `#[warn(clippy::redundant_field_names)]` on by default
|
|
this import is redundant:
src/cli.rs#L2
warning: this import is redundant
--> src/cli.rs:2:1
|
2 | use image2textart;
| ^^^^^^^^^^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
= note: `#[warn(clippy::single_component_path_imports)]` on by default
|
|
useless conversion to the same type: `image::Pixels<'_, image::DynamicImage>`:
src/lib.rs#L124
warning: useless conversion to the same type: `image::Pixels<'_, image::DynamicImage>`
--> src/lib.rs:124:18
|
124 | let pixels = converted_image
| __________________^
125 | | .pixels()
126 | | .into_iter()
| |____________________^
|
= 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
help: consider removing `.into_iter()`
|
124 ~ let pixels = converted_image
125 + .pixels()
|
|
|
field `3` is never read:
src/lib.rs#L37
warning: field `3` is never read
--> src/lib.rs:37:41
|
37 | pub struct Pixel(Coordinate, Char, RGB, Saturation);
| ----- field in this struct ^^^^^^^^^^
|
= help: consider removing this field
= note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
|
redundant field names in struct initialization:
src/lib.rs#L154
warning: redundant field names in struct initialization
--> src/lib.rs:154:9
|
154 | pixels: pixels,
| ^^^^^^^^^^^^^^ help: replace it with: `pixels`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `#[warn(clippy::redundant_field_names)]` on by default
|