Expand your possibilities with the Try ? Operator
Have you ever found yourself writing a function which may return early based on some condition?
It doesn't look Rusty, right? This crate offers an extension trait to be able to convert from
a bool to a ControlFlow and leverage the mighty power of ? to get rid of those checks:
# use ControlFlow;
# use BoolFlow;
There's also other methods besides [continue][BoolFlow::continue] and [break][BoolFlow::break] which allows to control the value which is passed to the Break variant.