Skip to main content

rec

Function rec 

Source
pub fn rec<E>(expectations: E) -> Rec<E>
Expand description

Creates a Rec expectation combinator that wraps the given expectation.

This is a convenience function that is equivalent to Rec::new().