Closed cpu closed 8 months ago
Latest clippy is flagging two instances of using fold on a type implementing Try, recommending the usage of try_fold instead.
fold
Try
try_fold
This commit fixes both occurrences to resolve the clippy errors. See https://rust-lang.github.io/rust-clippy/master/index.html#/manual_try_fold for more detail.
Hi, Thank you for your PR. It seems to even simplify the code, so I like it :)
Merged, thanks
Latest clippy is flagging two instances of using
fold
on a type implementingTry
, recommending the usage oftry_fold
instead.This commit fixes both occurrences to resolve the clippy errors. See https://rust-lang.github.io/rust-clippy/master/index.html#/manual_try_fold for more detail.