GitHub Actions / clippy
succeeded
Dec 21, 2024 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check warning on line 288 in crates/kernel/src/tasks/vm_host.rs
github-actions / clippy
redundant closure
warning: redundant closure
--> crates/kernel/src/tasks/vm_host.rs:288:41
|
288 | .unwrap_or_else(|e| ExecutionResult::PushError(e));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ExecutionResult::PushError`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
Loading