GitHub Actions / Clippy (MSRV)
failed
May 13, 2024 in 0s
Clippy (MSRV)
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.65.0 (897e37553 2022-11-02)
- cargo 1.65.0 (4bc8f24d3 2022-10-20)
- clippy 0.1.65 (897e375 2022-11-02)
Annotations
Check failure on line 530 in zcash_primitives/src/transaction/mod.rs
github-actions / Clippy (MSRV)
redundant closure
error: redundant closure
--> zcash_primitives/src/transaction/mod.rs:530:30
|
530 | .map_or_else(|| Amount::zero(), |b| b.value_balance()),
| ^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Amount::zero`
|
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
Loading