Skip to main content

maybe_fail_statement

Function maybe_fail_statement 

Source
pub fn maybe_fail_statement() -> Result<(), InjectedFailure>
Expand description

No-op when injection is disabled.

ยงErrors

Always returns Ok(()) when the testing-statement-injection feature is off; the result type is kept so call sites compile uniformly.