[pbs-devel] applied: [PATCH v2 backup 07/27] tools: add ControlFlow type

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Apr 29 11:26:22 CEST 2021


On Thu, Apr 29, 2021 at 11:17:06AM +0200, Dietmar Maurer wrote:
> applied.
> 
> I guess we want to replace that with std::ops::ControlFlow once that is
> stable?

Yeah that's the idea.
Just something to be on the lookout in the future where we may be able
to simplify code.
(Particularly I expect a bunch of `try_fold` calls to become something
simpler like a `try_collect` which IIRC is one of the things they want
to add later when `ControlFlow` and the new try-trait variant are
stable, though I have no idea how long the latter will take...)





More information about the pbs-devel mailing list