Implement handling of EphemeralAddresses #185
audits.yml
on: pull_request
Vet Rust dependencies
2m 23s
Check licenses
47s
Annotations
5 errors
usage of `Iterator::fold` on a type that implements `Try`:
components/zcash_protocol/src/value.rs#L387
error: usage of `Iterator::fold` on a type that implements `Try`
--> components/zcash_protocol/src/value.rs:387:14
|
387 | 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#L381
error: usage of `Iterator::fold` on a type that implements `Try`
--> components/zcash_protocol/src/value.rs:381:14
|
381 | 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)]`
|
Vet Rust dependencies
Process completed with exit code 255.
|