cancel flash_service #245
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy
failed
Sep 1, 2023 in 1s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.71.1 (eb26296b5 2023-08-03)
- cargo 1.71.1 (7f1d04c00 2023-07-29)
- clippy 0.1.71 (eb26296 2023-08-03)
Annotations
Check failure on line 149 in bmcd/src/flash_service.rs
github-actions / clippy
useless use of `format!`
error: useless use of `format!`
--> bmcd/src/flash_service.rs:149:73
|
149 | FlashError::PeersDoNotMatch(p) => (StatusCode::BAD_REQUEST, format!("{}", p)).into(),
| ^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `p.to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `-D clippy::useless-format` implied by `-D warnings`
Loading