Wallet Summary #53
audits.yml
on: pull_request
Vet Rust dependencies
2m 23s
Check licenses
44s
Annotations
4 errors
usage of `Iterator::fold` on a type that implements `Try`:
components/zcash_protocol/src/value.rs#L385
error: usage of `Iterator::fold` on a type that implements `Try`
--> components/zcash_protocol/src/value.rs:385:14
|
385 | iter.fold(Some(Zatoshis::ZERO), |acc, a| acc? + *a)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(Zatoshis::ZERO, |acc, a| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
|
usage of `Iterator::fold` on a type that implements `Try`:
components/zcash_protocol/src/value.rs#L379
error: usage of `Iterator::fold` on a type that implements `Try`
--> components/zcash_protocol/src/value.rs:379:14
|
379 | iter.fold(Some(Zatoshis::ZERO), |acc, a| acc? + a)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(Zatoshis::ZERO, |acc, a| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
|
usage of `Iterator::fold` on a type that implements `Try`:
components/zcash_protocol/src/value.rs#L202
error: usage of `Iterator::fold` on a type that implements `Try`
--> components/zcash_protocol/src/value.rs:202:14
|
202 | iter.fold(Some(ZatBalance::zero()), |acc, a| acc? + *a)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(ZatBalance::zero(), |acc, a| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
|
usage of `Iterator::fold` on a type that implements `Try`:
components/zcash_protocol/src/value.rs#L196
error: usage of `Iterator::fold` on a type that implements `Try`
--> components/zcash_protocol/src/value.rs:196:14
|
196 | iter.fold(Some(ZatBalance::zero()), |acc, a| acc? + a)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(ZatBalance::zero(), |acc, a| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
= note: `-D clippy::manual-try-fold` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_try_fold)]`
|