chore: Update dependecies #116
GitHub Actions / clippy
failed
Mar 18, 2024 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0-nightly (eb45c8444 2024-03-17)
- cargo 1.79.0-nightly (2fe739fcf 2024-03-15)
- clippy 0.1.78 (eb45c84 2024-03-17)
Annotations
Check failure on line 26 in benches/benchmarks.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> benches/benchmarks.rs:26:56
|
26 | let mut commands = image_handler::load(vec![file], &config);
| ------------------- ^^^^^^^ expected `ImageConfig`, found `&ImageConfig`
| |
| arguments to this function are incorrect
|
note: function defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pixelbomber-0.6.0/src/image_handler.rs:221:8
|
221 | pub fn load(paths: Vec<&str>, config: ImageConfig) -> CommandLib {
| ^^^^
help: consider removing the borrow
|
26 - let mut commands = image_handler::load(vec![file], &config);
26 + let mut commands = image_handler::load(vec![file], config);
|
Loading