GitHub Actions / clippy
succeeded
Jan 11, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check warning on line 502 in bin/nanocl/src/commands/state.rs
github-actions / clippy
unused variable: `image`
warning: unused variable: `image`
--> bin/nanocl/src/commands/state.rs:502:11
|
502 | let image = cargo.container.image.clone().unwrap_or_default();
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
Check warning on line 499 in bin/nanocl/src/commands/state.rs
github-actions / clippy
unused variable: `image`
warning: unused variable: `image`
--> bin/nanocl/src/commands/state.rs:499:13
|
499 | let image = before.image.clone().unwrap_or_default();
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
|
= note: `#[warn(unused_variables)]` on by default
Loading