Skip to main content

assert_proves

Function assert_proves 

Source
pub fn assert_proves<Pr, P>()
where Pr: Proof<Proves = P>,
Expand description

Statically asserts that Pr is a proof of P, throwing a type checker error if it is not.

ยงExample

See the module documentation.