#[repr(transparent)]pub(crate) struct NeverShortCircuit<T>(pub T);
An adapter for implementing non-try methods via the
Conceptually the same as
Result<T, !>, but requiring less work in trait
solving and inhabited-ness checking and such, by being an obvious newtype
and not having
From bounds lying around.
Not currently planned to be exposed publicly, so just
Implementation for building
ConstFnMutClosure for wrapping the output of a ~const FnMut in a
?when not short-circuiting.
Auto Trait Implementations§
Returns the argument unchanged.