unify the way we cancel heartbeat #55
Annotations
1 warning
|
usage of `Iterator::fold` on a type that implements `Try`:
src/channels.rs#L290
warning: usage of `Iterator::fold` on a type that implements `Try`
--> src/channels.rs:290:14
|
290 | .fold(Some(error), |error, channel| {
| ______________^
291 | | channel.init_recovery_or_shutdown(error)
292 | | });
| |______________^ help: use `try_fold` instead: `try_fold(error, |error, channel| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
= note: `-W clippy::manual-try-fold` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::manual_try_fold)]`
|